Searched refs:Matrix (Results 1 - 25 of 341) 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/eigen/test/
H A Dzerosized.cpp48 zeroSizedMatrix<Matrix<float, 2, Dynamic> >();
50 zeroSizedMatrix<Matrix<float, 0, 0> >();
51 zeroSizedMatrix<Matrix<float, Dynamic, 0, 0, 0, 0> >();
52 zeroSizedMatrix<Matrix<float, 0, Dynamic, 0, 0, 0> >();
53 zeroSizedMatrix<Matrix<float, Dynamic, Dynamic, 0, 0, 0> >();
58 zeroSizedVector<Matrix<float, 0, 1> >();
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 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 Dvectorization_logic.cpp86 typedef Matrix<Scalar,PacketSize,1> Vector1;
87 typedef Matrix<Scalar,Dynamic,1> VectorX;
88 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixXX;
89 typedef Matrix<Scalar,PacketSize,PacketSize> Matrix11;
90 typedef Matrix<Scalar,2*PacketSize,2*PacketSize> Matrix22;
91 typedef Matrix<Scalar,(Matrix11::Flags&RowMajorBit)?16:4*PacketSize,(Matrix11::Flags&RowMajorBit)?4*PacketSize:16> Matrix44;
92 typedef Matrix<Scalar,(Matrix11::Flags&RowMajorBit)?16:4*PacketSize,(Matrix11::Flags&RowMajorBit)?4*PacketSize:16,DontAlign|EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION> Matrix44u;
93 typedef Matrix<Scalar,4*PacketSize,16,ColMajor> Matrix44c;
94 typedef Matrix<Scalar,4*PacketSize,16,RowMajor> Matrix44r;
96 typedef Matrix<Scala
[all...]
H A Dnomalloc.cpp33 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
102 typedef Eigen::Matrix<Scalar,
105 maxSize, maxSize> Matrix; typedef
107 typedef Eigen::Matrix<Scalar,
112 typedef Eigen::Matrix<std::complex<Scalar>,
117 const Matrix A(Matrix::Random(size, size)), B(Matrix::Random(size, size));
118 Matrix X(size,size);
120 const Matrix sa
[all...]
H A Dinteger_types.cpp59 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
71 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
139 CALL_SUBTEST_1( integer_type_tests(Matrix<unsigned int, 1, 1>()) );
140 CALL_SUBTEST_1( integer_type_tests(Matrix<unsigned long, 3, 4>()) );
142 CALL_SUBTEST_2( integer_type_tests(Matrix<long, 2, 2>()) );
143 CALL_SUBTEST_2( signed_integer_type_tests(Matrix<long, 2, 2>()) );
145 CALL_SUBTEST_3( integer_type_tests(Matrix<char, 2, Dynamic>(2, 10)) );
146 CALL_SUBTEST_3( signed_integer_type_tests(Matrix<signed char, 2, Dynamic>(2, 10)) );
148 CALL_SUBTEST_4( integer_type_tests(Matrix<unsigned char, 3, 3>()) );
149 CALL_SUBTEST_4( integer_type_tests(Matrix<unsigne
[all...]
H A Dmiscmatrices.cpp19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
20 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
30 Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
42 CALL_SUBTEST_1( miscMatrices(Matrix<float, 1, 1>()) );
H A Dupperbidiagonalization.cpp19 typedef Matrix<typename MatrixType::RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
37 CALL_SUBTEST_5( upperbidiag(Matrix<float,6,4>()) );
38 CALL_SUBTEST_6( upperbidiag(Matrix<float,5,5>()) );
39 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...]
H A Deigen2_miscmatrices.cpp19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
20 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
30 Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
42 CALL_SUBTEST_1( miscMatrices(Matrix<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 explicit 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));
H A DbenchCholesky.cpp44 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
129 benchLLT(Matrix<Scalar,Dynamic,Dynamic>(dynsizes[i],dynsizes[i]));
131 benchLLT(Matrix<Scalar,2,2>());
132 benchLLT(Matrix<Scalar,3,3>());
133 benchLLT(Matrix<Scalar,4,4>());
134 benchLLT(Matrix<Scalar,5,5>());
135 benchLLT(Matrix<Scalar,6,6>());
136 benchLLT(Matrix<Scalar,7,7>());
137 benchLLT(Matrix<Scalar,8,8>());
138 benchLLT(Matrix<Scala
[all...]
H A Dbench_sum.cpp8 typedef Matrix<SCALAR,Eigen::Dynamic,1> Vec;
/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/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A Dchkder.h10 const Matrix< Scalar, Dynamic, 1 > &x,
11 const Matrix< Scalar, Dynamic, 1 > &fvec,
12 const Matrix< Scalar, Dynamic, Dynamic > &fjac,
13 Matrix< Scalar, Dynamic, 1 > &xp,
14 const Matrix< Scalar, Dynamic, 1 > &fvecp,
16 Matrix< Scalar, Dynamic, 1 > &err

Completed in 1159 milliseconds

1234567891011>>