Searched refs:Matrix (Results 1 - 25 of 515) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
H A DMatrixBase_identity.cpp1 cout << Matrix<double, 3, 4>::Identity() << endl;
H A DFullPivLU_solve.cpp0 Matrix<float,2,3> m = Matrix<float,2,3>::Random();
5 Matrix<float,3,2> x = m.fullPivLu().solve(y);
H A DTutorial_Map_rowmajor.cpp3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl;
4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl;
6 Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
H A DLLT_solve.cpp1 typedef Matrix<float,Dynamic,2> DataMatrix;
6 Matrix<float,2,1> xy
H A DTutorial_solve_multiple_rhs.cpp3 Matrix<float,3,2> B;
5 Matrix<float,3,2> X;
H A DTopicStorageOrders_example.cpp0 Matrix<int, 3, 4, ColMajor> Acolmajor;
13 Matrix<int, 3, 4, RowMajor> Arowmajor = Acolmajor;
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DRenderData.java7 import android.graphics.Matrix;
16 public Matrix transform = new Matrix();
/external/deqp/framework/common/
H A DtcuMatrixUtil.hpp23 * \brief Matrix utility functions
34 Matrix<T, Size+1, Size+1> translationMatrix (const Vector<T, Size>& translation);
37 Matrix<float, 2, 2> rotationMatrix (float radians);
38 Matrix<float, 2, 2> shearMatrix (const Vector<float, 2>& shear);
41 Matrix<float, 3, 3> rotationMatrixX (float radiansX);
42 Matrix<float, 3, 3> rotationMatrixY (float radiansY);
43 Matrix<float, 3, 3> rotationMatrixZ (float radiansZ);
49 inline Matrix<T, Len+1, Len+1> translationMatrix (const Vector<T, Len>& translation)
51 Matrix<T, Len+1, Len+1> res = Matrix<
[all...]
H A DtcuMatrix.hpp51 class Matrix class in namespace:tcu
64 Matrix (void);
65 explicit Matrix (const T& src);
66 explicit Matrix (const T src[Rows*Cols]);
67 Matrix (const Vector<T, Rows>& src);
68 Matrix (const Matrix<T, Rows, Cols>& src);
69 ~Matrix (void);
71 Matrix<T, Rows, Cols>& operator= (const Matrix<
142 determinant(const Matrix<T, Size, Size>& mat) argument
148 inverse(const Matrix<T, Size, Size>& mat) argument
158 doDeterminant(const Matrix<T, 2, 2>& mat) argument
164 doDeterminant(const Matrix<T, 3, 3>& mat) argument
175 doDeterminant(const Matrix<T, 4, 4>& mat) argument
210 doInverse(const Matrix<T, 2, 2>& mat) argument
226 doInverse(const Matrix<T, 3, 3>& mat) argument
275 doInverse(const Matrix<T, 4, 4>& mat) argument
328 Matrix<T, Rows, Cols>::Matrix (void) function in class:tcu::Matrix
337 Matrix<T, Rows, Cols>::Matrix (const T& src) function in class:tcu::Matrix
346 Matrix<T, Rows, Cols>::Matrix (const T src[Rows*Cols]) function in class:tcu::Matrix
355 Matrix<T, Rows, Cols>::Matrix (const Vector<T, Rows>& src) function in class:tcu::Matrix
365 Matrix(const Matrix<T, Rows, Cols>& src) argument
378 operator =(const Matrix<T, Rows, Cols>& src) argument
388 operator *=(const Matrix<T, Rows, Cols>& src) argument
452 operator *(const Matrix<T, Rows0, Cols0>& a, const Matrix<T, Rows1, Cols1>& b) argument
471 operator *(const Matrix<T, Rows, Cols>& mtx, const Vector<T, Cols>& vec) argument
486 operator *(const Vector<T, Rows>& vec, const Matrix<T, Rows, Cols>& mtx) argument
521 operator +(const Matrix<T, Rows, Cols>& mtx, T scalar) argument
531 operator -(const Matrix<T, Rows, Cols>& mtx, T scalar) argument
541 operator *(const Matrix<T, Rows, Cols>& mtx, T scalar) argument
551 operator /(const Matrix<T, Rows, Cols>& mtx, T scalar) argument
563 operator +(const Matrix<T, Rows, Cols>& a, const Matrix<T, Rows, Cols>& b) argument
573 operator -(const Matrix<T, Rows, Cols>& a, const Matrix<T, Rows, Cols>& b) argument
583 operator /(const Matrix<T, Rows, Cols>& a, const Matrix<T, Rows, Cols>& b) argument
[all...]
/external/ceres-solver/include/ceres/internal/
H A Deigen.h38 typedef Eigen::Matrix<double, Eigen::Dynamic, 1> Vector;
39 typedef Eigen::Matrix<double,
42 Eigen::RowMajor> Matrix; typedef in namespace:ceres
44 typedef Eigen::Map<Matrix> MatrixRef;
46 typedef Eigen::Map<const Matrix> ConstMatrixRef;
49 typedef Eigen::Matrix<double,
64 // struct so that we can support statically sized Matrix and Maps.
67 typedef Eigen::Matrix <double, num_rows, num_cols, Eigen::RowMajor>
68 Matrix; typedef in struct:ceres::EigenTypes
71 Eigen::Matrix<doubl
[all...]
/external/eigen/test/
H A Dzerosized.cpp70 zeroSizedMatrix<Matrix<float, 2, Dynamic> >();
72 zeroSizedMatrix<Matrix<float, 0, 0> >();
73 zeroSizedMatrix<Matrix<float, Dynamic, 0, 0, 0, 0> >();
74 zeroSizedMatrix<Matrix<float, 0, Dynamic, 0, 0, 0> >();
75 zeroSizedMatrix<Matrix<float, Dynamic, Dynamic, 0, 0, 0> >();
76 zeroSizedMatrix<Matrix<float, 0, 4> >();
77 zeroSizedMatrix<Matrix<float, 4, 0> >();
82 zeroSizedVector<Matrix<float, 0, 1> >();
83 zeroSizedVector<Matrix<float, 1, 0> >();
H A Dproduct_small.cpp16 Matrix<float,1,3> matAstatic;
17 Matrix<float,3,1> matBstatic;
35 CALL_SUBTEST_1( product(Matrix<float, 3, 2>()) );
36 CALL_SUBTEST_2( product(Matrix<int, 3, 5>()) );
H A Dsizeof.cpp23 CALL_SUBTEST(verifySizeOf(Matrix<float, 1, 1>()) );
25 CALL_SUBTEST(verifySizeOf(Matrix<double, 4, 2>()) );
26 CALL_SUBTEST(verifySizeOf(Matrix<bool, 7, 5>()) );
30 CALL_SUBTEST(verifySizeOf(Matrix<float, 100, 100>()) );
H A Dupperbidiagonalization.cpp18 typedef Matrix<typename MatrixType::RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
19 typedef Matrix<typename MatrixType::Scalar, MatrixType::ColsAtCompileTime, MatrixType::RowsAtCompileTime> TransposeMatrixType;
39 CALL_SUBTEST_5( upperbidiag(Matrix<float,6,4>()) );
40 CALL_SUBTEST_6( upperbidiag(Matrix<float,5,5>()) );
41 CALL_SUBTEST_7( upperbidiag(Matrix<double,4,3>()) );
/external/eigen/test/eigen2/
H A Deigen2_sizeof.cpp23 CALL_SUBTEST( verifySizeOf(Matrix<float, 1, 1>()) );
25 CALL_SUBTEST( verifySizeOf(Matrix<double, 4, 2>()) );
26 CALL_SUBTEST( verifySizeOf(Matrix<bool, 7, 5>()) );
30 CALL_SUBTEST( verifySizeOf(Matrix<float, 100, 100>()) );
H A Deigen2_product_small.cpp16 CALL_SUBTEST_1( product(Matrix<float, 3, 2>()) );
17 CALL_SUBTEST_2( product(Matrix<int, 3, 5>()) );
H A Deigen2_mixingtypes.cpp24 typedef Matrix<float, SizeAtCompileType, SizeAtCompileType> Mat_f;
25 typedef Matrix<double, SizeAtCompileType, SizeAtCompileType> Mat_d;
26 typedef Matrix<std::complex<float>, SizeAtCompileType, SizeAtCompileType> Mat_cf;
27 typedef Matrix<std::complex<double>, SizeAtCompileType, SizeAtCompileType> Mat_cd;
28 typedef Matrix<float, SizeAtCompileType, 1> Vec_f;
29 typedef Matrix<double, SizeAtCompileType, 1> Vec_d;
30 typedef Matrix<std::complex<float>, SizeAtCompileType, 1> Vec_cf;
31 typedef Matrix<std::complex<double>, SizeAtCompileType, 1> Vec_cd;
H A Dgsl_helper.h26 typedef gsl_matrix* Matrix; typedef in struct:Eigen::GslTraits
28 static Matrix createMatrix(int rows, int cols) { return gsl_matrix_alloc(rows,cols); }
30 static void free(Matrix& m) { gsl_matrix_free(m); m=0; }
32 static void prod(const Matrix& m, const Vector& v, Vector& x) { gsl_blas_dgemv(CblasNoTrans,1,m,v,0,x); }
33 static void cholesky(Matrix& m) { gsl_linalg_cholesky_decomp(m); }
34 static void cholesky_solve(const Matrix& m, const Vector& b, Vector& x) { gsl_linalg_cholesky_solve(m,b,x); }
35 static void eigen_symm(const Matrix& m, Vector& eval, Matrix& evec)
38 Matrix a = createMatrix(m->size1, m->size2);
45 static void eigen_symm_gen(const Matrix
61 typedef gsl_matrix_complex* Matrix; typedef in struct:Eigen::GslTraits
[all...]
/external/ceres-solver/include/ceres/
H A Dnormal_prior.h64 NormalPrior(const Matrix& A, const Vector& b);
70 Matrix A_;
/external/eigen/unsupported/test/
H A Dbdcsvd.cpp107 // test of Dynamic defined Matrix (42, 42) of float
108 CALL_SUBTEST_11(( bdcsvd_verify_assert<Matrix<float,Dynamic,Dynamic> >
109 (Matrix<float,Dynamic,Dynamic>(42,42)) ));
110 CALL_SUBTEST_11(( compare_bdc_jacobi<Matrix<float,Dynamic,Dynamic> >
111 (Matrix<float,Dynamic,Dynamic>(42,42), 0) ));
112 CALL_SUBTEST_11(( bdcsvd<Matrix<float,Dynamic,Dynamic> >
113 (Matrix<float,Dynamic,Dynamic>(42,42)) ));
115 // test of Dynamic defined Matrix (50, 50) of double
116 CALL_SUBTEST_13(( bdcsvd_verify_assert<Matrix<double,Dynamic,Dynamic> >
117 (Matrix<doubl
[all...]
H A Dmatrix_square_root.cpp27 CALL_SUBTEST_4(testMatrixSqrt(Matrix<double,Dynamic,Dynamic,RowMajor>(9, 9)));
28 CALL_SUBTEST_5(testMatrixSqrt(Matrix<float,1,1>()));
29 CALL_SUBTEST_5(testMatrixSqrt(Matrix<std::complex<float>,1,1>()));
/external/eigen/Eigen/src/Core/
H A DMatrix.h16 /** \class Matrix
21 * The %Matrix class is the work-horse for all \em dense (\ref dense "note") matrices and vectors within Eigen.
24 * The %Matrix class encompasses \em both fixed-size and dynamic-size objects (\ref fixedsize "note").
42 * \li \c Matrix2d is a 2x2 square matrix of doubles (\c Matrix<double, 2, 2>)
43 * \li \c Vector4f is a vector of 4 floats (\c Matrix<float, 4, 1>)
44 * \li \c RowVector3i is a row-vector of 3 ints (\c Matrix<int, 1, 3>)
46 * \li \c MatrixXf is a dynamic-size matrix of floats (\c Matrix<float, Dynamic, Dynamic>)
47 * \li \c VectorXf is a dynamic-size vector of floats (\c Matrix<float, Dynamic, 1>)
49 * \li \c Matrix2Xf is a partially fixed-size (dynamic-size) matrix of floats (\c Matrix<float, 2, Dynamic>)
50 * \li \c MatrixX3d is a partially dynamic-size (fixed-size) matrix of double (\c Matrix<doubl
127 class Matrix class in namespace:Eigen
203 EIGEN_STRONG_INLINE Matrix() : Base() function in class:Eigen::Matrix
210 Matrix(internal::constructor_without_unaligned_array_assert) function in class:Eigen::Matrix
220 EIGEN_STRONG_INLINE explicit Matrix(Index dim) function in class:Eigen::Matrix
232 EIGEN_STRONG_INLINE Matrix(const T0& x, const T1& y) function in class:Eigen::Matrix
249 EIGEN_STRONG_INLINE Matrix(const Scalar& x, const Scalar& y, const Scalar& z) function in class:Eigen::Matrix
258 EIGEN_STRONG_INLINE Matrix(const Scalar& x, const Scalar& y, const Scalar& z, const Scalar& w) function in class:Eigen::Matrix
272 EIGEN_STRONG_INLINE Matrix(const MatrixBase<OtherDerived>& other) function in class:Eigen::Matrix
284 EIGEN_STRONG_INLINE Matrix(const Matrix& other) function in class:Eigen::Matrix
292 EIGEN_STRONG_INLINE Matrix(const ReturnByValue<OtherDerived>& other) function in class:Eigen::Matrix
303 EIGEN_STRONG_INLINE Matrix(const EigenBase<OtherDerived> &other) function in class:Eigen::Matrix
[all...]
/external/eigen/bench/
H A Dbenchmark.cpp24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones();
25 Matrix<SCALAR,MATSIZE,MATSIZE> m;
34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m));
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DRotationBase.h15 // in 2D and 3D space excepted Matrix and Quaternion.
33 typedef Matrix<Scalar,Dim,Dim> RotationMatrixType;
63 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
64 ::Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r) function in class:Eigen::Matrix
66 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim))
76 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>&
77 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
80 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim))
103 static inline Matrix<Scalar,2,2> ei_toRotationMatrix(const Scalar& s)
110 static inline Matrix<Scala
[all...]
/external/ceres-solver/internal/ceres/
H A Ddogleg_strategy.h74 Matrix subspace_basis() const { return subspace_basis_; }
76 Matrix subspace_B() const { return subspace_B_; }
79 typedef Eigen::Matrix<double, 2, 1, Eigen::DontAlign> Vector2d;
80 typedef Eigen::Matrix<double, 2, 2, Eigen::DontAlign> Matrix2d;
157 Matrix subspace_basis_;

Completed in 782 milliseconds

1234567891011>>