Searched refs:Matrix (Results 101 - 125 of 515) sorted by relevance

1234567891011>>

/external/eigen/unsupported/doc/examples/
H A DPolynomialUtils1.cpp11 Eigen::Matrix<double,5,1> polynomial;
/external/eigen/unsupported/test/
H A Dpolynomialutils.cpp32 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType;
33 typedef Matrix<_Scalar,_Deg,1> EvalRootsType;
70 typedef Matrix<_Scalar,Dim::ret,1> PolynomialType;
71 typedef Matrix<_Scalar,_Deg,1> EvalRootsType;
H A Dautodiff.cpp39 typedef Matrix<Scalar,InputsAtCompileTime,1> InputType;
40 typedef Matrix<Scalar,ValuesAtCompileTime,1> ValueType;
41 typedef Matrix<Scalar,ValuesAtCompileTime,InputsAtCompileTime> JacobianType;
52 void operator() (const Matrix<T,InputsAtCompileTime,1>& x, Matrix<T,ValuesAtCompileTime,1>* _v) const argument
54 Matrix<T,ValuesAtCompileTime,1>& v = *_v;
147 typedef Matrix<AD,2,1> VectorAD;
/external/ceres-solver/examples/
H A Dlibmv_homography.cc70 typedef Eigen::Matrix<double, 3, 3> Mat3;
71 typedef Eigen::Matrix<double, 2, 1> Vec2;
72 typedef Eigen::Matrix<double, Eigen::Dynamic, 8> MatX8;
110 void SymmetricGeometricDistanceTerms(const Eigen::Matrix<T, 3, 3> &H,
111 const Eigen::Matrix<T, 2, 1> &x1,
112 const Eigen::Matrix<T, 2, 1> &x2,
115 typedef Eigen::Matrix<T, 3, 1> Vec3;
160 typedef Eigen::Matrix<T, 8, 1> Parameters; // a, b, ... g, h
161 typedef Eigen::Matrix<T, 3, 3> Parameterized; // H
253 typedef Eigen::Matrix<
[all...]
/external/eigen/test/
H A Djacobisvd.cpp30 typedef Matrix<Scalar, RowsAtCompileTime, RowsAtCompileTime> MatrixUType;
31 typedef Matrix<Scalar, ColsAtCompileTime, ColsAtCompileTime> MatrixVType;
80 typedef Matrix<Scalar, RowsAtCompileTime, Dynamic> RhsType;
81 typedef Matrix<Scalar, ColsAtCompileTime, Dynamic> SolutionType;
124 typedef Matrix<Scalar, RankAtCompileTime2, ColsAtCompileTime> MatrixType2;
125 typedef Matrix<Scalar, RankAtCompileTime2, 1> RhsType2;
126 typedef Matrix<Scalar, ColsAtCompileTime, RankAtCompileTime2> MatrixType2T;
137 Matrix<Scalar,Dynamic,1> tmp = qr.matrixQR().topLeftCorner(rank,rank).template triangularView<Upper>().adjoint().solve(rhs2);
149 typedef Matrix<Scalar, RowsAtCompileTime3, ColsAtCompileTime> MatrixType3;
150 typedef Matrix<Scala
[all...]
H A Ddiagonalmatrices.cpp17 typedef Matrix<Scalar, Rows, 1> VectorType;
18 typedef Matrix<Scalar, 1, Cols> RowVectorType;
19 typedef Matrix<Scalar, Rows, Rows> SquareMatrixType;
22 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix;
92 CALL_SUBTEST_1( diagonalmatrices(Matrix<float, 1, 1>()) );
94 CALL_SUBTEST_3( diagonalmatrices(Matrix<double,3,3,RowMajor>()) );
96 CALL_SUBTEST_5( diagonalmatrices(Matrix<float,4,4,RowMajor>()) );
99 CALL_SUBTEST_8( diagonalmatrices(Matrix<double,Dynamic,Dynamic,RowMajor>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
H A Dmapstride.cpp120 CALL_SUBTEST_1( map_class_vector<Aligned>(Matrix<float, 1, 1>()) );
121 CALL_SUBTEST_1( map_class_vector<Unaligned>(Matrix<float, 1, 1>()) );
131 CALL_SUBTEST_1( map_class_matrix<Aligned>(Matrix<float, 1, 1>()) );
132 CALL_SUBTEST_1( map_class_matrix<Unaligned>(Matrix<float, 1, 1>()) );
135 CALL_SUBTEST_3( map_class_matrix<Aligned>(Matrix<float,3,5>()) );
136 CALL_SUBTEST_3( map_class_matrix<Unaligned>(Matrix<float,3,5>()) );
137 CALL_SUBTEST_3( map_class_matrix<Aligned>(Matrix<float,4,8>()) );
138 CALL_SUBTEST_3( map_class_matrix<Unaligned>(Matrix<float,4,8>()) );
H A Dmixingtypes.cpp30 typedef Matrix<float, SizeAtCompileType, SizeAtCompileType> Mat_f;
31 typedef Matrix<double, SizeAtCompileType, SizeAtCompileType> Mat_d;
32 typedef Matrix<std::complex<float>, SizeAtCompileType, SizeAtCompileType> Mat_cf;
33 typedef Matrix<std::complex<double>, SizeAtCompileType, SizeAtCompileType> Mat_cd;
34 typedef Matrix<float, SizeAtCompileType, 1> Vec_f;
35 typedef Matrix<double, SizeAtCompileType, 1> Vec_d;
36 typedef Matrix<std::complex<float>, SizeAtCompileType, 1> Vec_cf;
37 typedef Matrix<std::complex<double>, SizeAtCompileType, 1> Vec_cd;
H A Dspqr_support.cpp32 Matrix<Scalar,Dynamic,Dynamic> dA;
33 typedef Matrix<Scalar,Dynamic,1> DenseVector;
H A Dnullary.cpp79 Matrix<Scalar,Dynamic,1> row_vector(size);
80 Matrix<Scalar,1,Dynamic> col_vector(size);
85 Matrix<Scalar,Dynamic,1> size_changer(size+50);
89 typedef Matrix<Scalar,1,1> ScalarMatrix;
127 CALL_SUBTEST_8( testVectorType(Matrix<float,1,1>()) );
H A Dbasicstuff.cpp18 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
30 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows, rows);
74 Matrix<Scalar, 1, MatrixType::RowsAtCompileTime> rv(rows);
75 Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> cv(rows);
136 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
184 Matrix<Scalar,3,1> m(raw);
197 CALL_SUBTEST_1( basicStuff(Matrix<float, 1, 1>()) );
202 CALL_SUBTEST_6( basicStuff(Matrix<float, 100, 100>()) );
203 CALL_SUBTEST_7( basicStuff(Matrix<lon
[all...]
H A Dqr_fullpivoting.cpp22 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> MatrixQType;
133 CALL_SUBTEST_7((FullPivHouseholderQR<Matrix<float,10,20> >(10,20)));
134 CALL_SUBTEST_7((FullPivHouseholderQR<Matrix<float,10,20> >(Matrix<float,10,20>::Random())));
135 CALL_SUBTEST_7((FullPivHouseholderQR<Matrix<float,20,10> >(20,10)));
136 CALL_SUBTEST_7((FullPivHouseholderQR<Matrix<float,20,10> >(Matrix<float,20,10>::Random())));
/external/ceres-solver/internal/ceres/
H A Dschur_eliminator_test.cc80 Matrix J;
84 Matrix H = (D.cwiseProduct(D)).asDiagonal();
99 Matrix P = H.block(0, 0, num_eliminate_cols, num_eliminate_cols);
100 Matrix Q = H.block(0,
104 Matrix R = H.block(num_eliminate_cols,
116 .solve(Matrix::Identity(block_size, block_size));
176 Matrix delta = (lhs_ref - lhs_expected).selfadjointView<Eigen::Upper>();
191 Matrix lhs_expected;
H A Ddynamic_compressed_row_sparse_matrix_test.cc105 Matrix dense_from_tsm;
110 Matrix dense_from_crsm;
131 Matrix dense_from_dcrsm;
139 Matrix dense_from_dcrsm;
167 Matrix dense;
H A Dpolynomial.cc48 // "Balancing a Matrix for Calculation of Eigenvalues and Eigenvectors".
51 void BalanceCompanionMatrix(Matrix* companion_matrix_ptr) {
53 Matrix& companion_matrix = *companion_matrix_ptr;
54 Matrix companion_matrix_offdiagonal = companion_matrix;
103 Matrix* companion_matrix_ptr) {
105 Matrix& companion_matrix = *companion_matrix_ptr;
228 Matrix companion_matrix(degree, degree);
233 Eigen::EigenSolver<Matrix> solver(companion_matrix, false);
346 Matrix lhs = Matrix
[all...]
H A Ddense_normal_cholesky_solver.cc75 Matrix lhs(num_cols, num_cols);
99 Eigen::LLT<Matrix, Eigen::Upper> llt =
129 Matrix lhs(num_cols, num_cols);
/external/eigen/Eigen/src/SparseCore/
H A DSparseRedux.h32 return Matrix<Scalar,1,Dynamic>::Map(&m_data.value(0), m_data.size()).sum();
40 return Matrix<Scalar,1,Dynamic>::Map(&m_data.value(0), m_data.size()).sum();
/external/eigen/bench/btl/generic_bench/init/
H A Dinit_matrix.hh38 // Matrix is a Vector of Vector
39 // The Matrix class must satisfy the following part of STL vector concept :
50 template<double init_function(int,int),class Matrix>
51 BTL_DONT_INLINE void init_matrix_symm(Matrix& A, int size){
/external/eigen/blas/
H A DGeneralRank1Update.h24 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap;
29 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i,rows) += alpha * cj(v[i]) * ConjRhsType(OtherMap(u,rows));
/external/eigen/test/eigen2/
H A Deigen2_inverse.cpp24 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> VectorType;
56 CALL_SUBTEST_1( inverse(Matrix<double,1,1>()) );
H A Deigen2_triangular.cpp16 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
31 identity = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
33 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
150 CALL_SUBTEST_1( triangular(Matrix<float, 1, 1>()) );
151 CALL_SUBTEST_2( triangular(Matrix<float, 2, 2>()) );
154 CALL_SUBTEST_5( triangular(Matrix<std::complex<float>,8, 8>()) );
156 CALL_SUBTEST_7( triangular(Matrix<float,Dynamic,Dynamic,RowMajor>(5, 5)) );
/external/llvm/include/llvm/CodeGen/
H A DLiveRegMatrix.h50 LiveIntervalUnion::Array Matrix; member in class:llvm::LiveRegMatrix
142 LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; }
/external/chromium_org/third_party/skia/src/sfnt/
H A DSkOTTable_glyf.h157 union Matrix { union in union:SkOTTableGlyphData::Composite::Component::Transform
181 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
187 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
193 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
199 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A Ddogleg.h7 const Matrix< Scalar, Dynamic, Dynamic > &qrfac,
8 const Matrix< Scalar, Dynamic, 1 > &diag,
9 const Matrix< Scalar, Dynamic, 1 > &qtb,
11 Matrix< Scalar, Dynamic, 1 > &x)
30 Matrix< Scalar, Dynamic, 1 > wa1(n), wa2(n);
/external/skia/src/sfnt/
H A DSkOTTable_glyf.h157 union Matrix { union in union:SkOTTableGlyphData::Composite::Component::Transform
181 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
187 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
193 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;
199 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix;

Completed in 483 milliseconds

1234567891011>>