/external/eigen/test/ |
H A D | corners.cpp | 16 template<typename MatrixType> void corners(const MatrixType& m) 18 typedef typename MatrixType::Index Index; 25 MatrixType matrix = MatrixType::Random(rows,cols); 26 const MatrixType const_matrix = MatrixType::Random(rows,cols); 46 template<typename MatrixType, int CRows, int CCols, int SRows, int SCols> void corners_fixedsize() 48 MatrixType matrix = MatrixType [all...] |
H A D | product_syrk.cpp | 12 template<typename MatrixType> void syrk(const MatrixType& m) 14 typedef typename MatrixType::Index Index; 15 typedef typename MatrixType::Scalar Scalar; 16 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime, RowMajor> RMatrixType; 17 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, Dynamic> Rhs1; 18 typedef Matrix<Scalar, Dynamic, MatrixType::RowsAtCompileTime> Rhs2; 19 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, Dynamic,RowMajor> Rhs3; 24 MatrixType m [all...] |
H A D | bandmatrix.cpp | 12 template<typename MatrixType> void bandmatrix(const MatrixType& _m) 14 typedef typename MatrixType::Scalar Scalar; 23 MatrixType m(rows,cols,supers,subs);
|
H A D | product_extra.cpp | 12 template<typename MatrixType> void product_extra(const MatrixType& m) 14 typedef typename MatrixType::Index Index; 15 typedef typename MatrixType::Scalar Scalar; 19 MatrixType::Flags&RowMajorBit> OtherMajorMatrixType; 24 MatrixType m1 = MatrixType::Random(rows, cols), 25 m2 = MatrixType::Random(rows, cols), 27 mzero = MatrixType::Zero(rows, cols), 28 identity = MatrixType [all...] |
H A D | product_trmv.cpp | 12 template<typename MatrixType> void trmv(const MatrixType& m) 14 typedef typename MatrixType::Index Index; 15 typedef typename MatrixType::Scalar Scalar; 17 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 24 MatrixType m1 = MatrixType::Random(rows, cols), 30 m1 = MatrixType::Random(rows, cols);
|
H A D | ref.cpp | 33 template<typename MatrixType> void ref_matrix(const MatrixType& m) 35 typedef typename MatrixType::Index Index; 36 typedef typename MatrixType::Scalar Scalar; 37 typedef typename MatrixType::RealScalar RealScalar; 38 typedef Matrix<Scalar,Dynamic,Dynamic,MatrixType::Options> DynMatrixType; 39 typedef Matrix<RealScalar,Dynamic,Dynamic,MatrixType::Options> RealDynMatrixType; 41 typedef Ref<MatrixType> RefMat; 48 MatrixType m1 = MatrixType 87 typedef Matrix<Scalar,Dynamic,Dynamic,ColMajor> MatrixType; typedef [all...] |
H A D | vectorwiseop.cpp | 130 template<typename MatrixType> void vectorwiseop_matrix(const MatrixType& m) 132 typedef typename MatrixType::Index Index; 133 typedef typename MatrixType::Scalar Scalar; 135 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> ColVectorType; 136 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType; 137 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealColVectorType; 138 typedef Matrix<RealScalar, 1, MatrixType::ColsAtCompileTime> RealRowVectorType; 145 MatrixType m1 = MatrixType [all...] |
H A D | mapstride.cpp | 51 template<int Alignment,typename MatrixType> void map_class_matrix(const MatrixType& _m) 53 typedef typename MatrixType::Index Index; 54 typedef typename MatrixType::Scalar Scalar; 58 MatrixType m = MatrixType::Random(rows,cols); 83 Map<MatrixType, Alignment, OuterStride<Dynamic> > map(array, rows, cols, OuterStride<Dynamic>(m.innerSize()+1)); 106 InnerSize = MatrixType::InnerSizeAtCompileTime, 109 Map<MatrixType, Alignment, OuterStride<OuterStrideAtCompileTime> > 131 Map<MatrixType, Alignmen [all...] |
H A D | nomalloc.cpp | 23 template<typename MatrixType> void nomalloc(const MatrixType& m) 27 typedef typename MatrixType::Index Index; 28 typedef typename MatrixType::Scalar Scalar; 33 MatrixType m1 = MatrixType::Random(rows, cols), 34 m2 = MatrixType::Random(rows, cols), 172 template<typename MatrixType> void test_reference(const MatrixType& m) { 173 typedef typename MatrixType [all...] |
/external/eigen/Eigen/src/LU/ |
H A D | FullPivLU.h | 63 typedef _MatrixType MatrixType; typedef in class:Eigen::FullPivLU 69 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, 70 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime 72 typedef typename internal::plain_row_type<MatrixType, StorageIndex>::type IntRowVectorType; 73 typedef typename internal::plain_col_type<MatrixType, StorageIndex>::type IntColVectorType; 76 typedef typename MatrixType::PlainObject PlainObject; 82 * perform decompositions via LU::compute(const MatrixType&). 104 * This overloaded constructor is provided for \link InplaceDecomposition inplace decomposition \endlink when \c MatrixType is a Eigen::Ref. 131 inline const MatrixType& matrixLU() const 215 image(const MatrixType [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
H A D | SelfAdjointEigenSolver.h | 23 template<typename MatrixType, typename DiagType, typename SubDiagType> 24 ComputationInfo computeFromTridiagonal_impl(DiagType& diag, SubDiagType& subdiag, const Index maxIterations, bool computeEigenvectors, MatrixType& eivec); 57 * SelfAdjointEigenSolver(const MatrixType&, int) constructor which computes 62 * The documentation for SelfAdjointEigenSolver(const MatrixType&, int) 74 typedef _MatrixType MatrixType; typedef in class:Eigen::SelfAdjointEigenSolver 76 Size = MatrixType::RowsAtCompileTime, 77 ColsAtCompileTime = MatrixType::ColsAtCompileTime, 78 Options = MatrixType::Options, 79 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime 83 typedef typename MatrixType 556 typedef typename SolverType::MatrixType MatrixType; typedef in struct:Eigen::internal::direct_selfadjoint_eigenvalues 714 typedef typename SolverType::MatrixType MatrixType; typedef in struct:Eigen::internal::direct_selfadjoint_eigenvalues [all...] |
H A D | EigenSolver.h | 48 * EigenSolver(const MatrixType&, bool) constructor which computes the 55 * The documentation for EigenSolver(const MatrixType&, bool) contains an 69 typedef _MatrixType MatrixType; typedef in class:Eigen::EigenSolver 72 RowsAtCompileTime = MatrixType::RowsAtCompileTime, 73 ColsAtCompileTime = MatrixType::ColsAtCompileTime, 74 Options = MatrixType::Options, 75 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, 76 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime 79 /** \brief Scalar type for matrices of type #MatrixType. */ 80 typedef typename MatrixType [all...] |
H A D | RealQZ.h | 40 * RealQZ(const MatrixType& B, const MatrixType& B, bool computeQZ) 60 typedef _MatrixType MatrixType; typedef in class:Eigen::RealQZ 62 RowsAtCompileTime = MatrixType::RowsAtCompileTime, 63 ColsAtCompileTime = MatrixType::ColsAtCompileTime, 64 Options = MatrixType::Options, 65 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, 66 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime 68 typedef typename MatrixType::Scalar Scalar; 104 RealQZ(const MatrixType [all...] |
/external/eigen/Eigen/src/SparseCore/ |
H A D | SparseView.h | 18 template<typename MatrixType> 19 struct traits<SparseView<MatrixType> > : traits<MatrixType> 21 typedef typename MatrixType::StorageIndex StorageIndex; 24 Flags = int(traits<MatrixType>::Flags) & (RowMajorBit) 35 * \tparam MatrixType the type of the object of which we are removing the small entries 44 template<typename MatrixType> 45 class SparseView : public SparseMatrixBase<SparseView<MatrixType> > 47 typedef typename MatrixType::Nested MatrixTypeNested; 52 typedef typename internal::remove_all<MatrixType> [all...] |
H A D | SparseColEtree.h | 60 template <typename MatrixType, typename IndexVector> 61 int coletree(const MatrixType& mat, IndexVector& parent, IndexVector& firstRowElt, typename MatrixType::StorageIndex *perm=0) 63 typedef typename MatrixType::StorageIndex StorageIndex; 81 for (typename MatrixType::InnerIterator it(mat, pcol); it; ++it) 103 for (typename MatrixType::InnerIterator it(mat, pcol); it||!found_diag; ++it)
|
/external/eigen/bench/ |
H A D | benchEigenSolver.cpp | 33 template <typename MatrixType> 34 __attribute__ ((noinline)) void benchEigenSolver(const MatrixType& m) 42 typedef typename MatrixType::Scalar Scalar; 43 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 45 MatrixType a = MatrixType::Random(rows,cols); 81 if (MatrixType::RowsAtCompileTime==Dynamic) 90 if (MatrixType::RowsAtCompileTime==Dynamic) 128 if (MatrixType [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | Transform.h | 32 typename MatrixType, 34 : int(MatrixType::RowsAtCompileTime) == int(transform_traits<TransformType>::HDim) ? 1 36 int RhsCols = MatrixType::ColsAtCompileTime> 217 typedef typename internal::make_proper_matrix_type<Scalar,Rows,HDim,Options>::type MatrixType; typedef in class:Eigen::Transform 218 /** constified MatrixType */ 219 typedef const MatrixType ConstMatrixType; 223 typedef Block<MatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> LinearPart; 228 MatrixType&, 229 Block<MatrixType,Dim,HDim> >::type AffinePart; 232 const MatrixType 1238 typedef typename TransformType::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_take_affine_part 1249 typedef typename Transform<Scalar,Dim,AffineCompact,Options>::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_take_affine_part 1404 typedef typename TransformType::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_left_product_impl 1415 typedef typename TransformType::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_left_product_impl 1431 typedef typename TransformType::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_left_product_impl 1447 typedef typename TransformType::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_left_product_impl 1463 typedef typename TransformType::MatrixType MatrixType; typedef in struct:Eigen::internal::transform_left_product_impl [all...] |
/external/eigen/Eigen/src/Core/ |
H A D | TriangularMatrix.h | 155 * \param MatrixType the type of the object in which we are taking the triangular part 168 template<typename MatrixType, unsigned int _Mode> 169 struct traits<TriangularView<MatrixType, _Mode> > : traits<MatrixType> 171 typedef typename ref_selector<MatrixType>::non_const_type MatrixTypeNested; 174 typedef typename MatrixType::PlainObject FullMatrixType; 175 typedef MatrixType ExpressionType; 178 FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0, 193 typedef _MatrixType MatrixType; typedef in class:Eigen::TriangularView 199 typedef typename internal::remove_all<typename MatrixType 342 typedef _MatrixType MatrixType; typedef in class:Eigen::TriangularViewImpl [all...] |
H A D | VectorwiseOp.h | 21 * \tparam MatrixType the type of the matrix we are applying the redux operation 32 template< typename MatrixType, typename MemberOp, int Direction> 36 template<typename MatrixType, typename MemberOp, int Direction> 37 struct traits<PartialReduxExpr<MatrixType, MemberOp, Direction> > 38 : traits<MatrixType> 41 typedef typename traits<MatrixType>::StorageKind StorageKind; 42 typedef typename traits<MatrixType>::XprKind XprKind; 43 typedef typename MatrixType::Scalar InputScalar; 45 RowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::RowsAtCompileTime, 46 ColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType [all...] |
/external/eigen/lapack/ |
H A D | cholesky.cpp | 27 MatrixType A(a,*n,*n,*lda); 57 MatrixType A(a,*n,*n,*lda); 58 MatrixType B(b,*n,*nrhs,*ldb);
|
/external/eigen/Eigen/src/UmfPackSupport/ |
H A D | UmfPackSupport.h | 141 typedef _MatrixType MatrixType; typedef in class:Eigen::UmfPackLU 142 typedef typename MatrixType::Scalar Scalar; 143 typedef typename MatrixType::RealScalar RealScalar; 144 typedef typename MatrixType::StorageIndex StorageIndex; 146 typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> IntRowVectorType; 147 typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> IntColVectorType; 152 ColsAtCompileTime = MatrixType::ColsAtCompileTime, 153 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime 386 template<typename MatrixType> 387 void UmfPackLU<MatrixType> [all...] |
/external/eigen/Eigen/src/misc/ |
H A D | RealSvd2x2.h | 18 template<typename MatrixType, typename RealScalar, typename Index> 19 void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
|
/external/eigen/unsupported/test/ |
H A D | matrix_exponential.cpp | 97 template<typename MatrixType> 98 void randomTest(const MatrixType& m, double tol) 103 typename MatrixType::Index rows = m.rows(); 104 typename MatrixType::Index cols = m.cols(); 105 MatrixType m1(rows, cols), m2(rows, cols), identity = MatrixType::Identity(rows, cols); 107 typedef typename NumTraits<typename internal::traits<MatrixType>::Scalar>::Real RealScalar; 110 m1 = MatrixType::Random(rows, cols);
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
H A D | MatrixMarketIterator.h | 47 typedef SparseMatrix<Scalar,ColMajor> MatrixType; typedef in class:Eigen::MatrixMarketIterator 74 inline MatrixType& matrix() 97 MatrixType tmp(m_mat); 103 MatrixType tmp(m_mat); 231 MatrixType m_mat; // Current matrix
|
/external/eigen/Eigen/src/CholmodSupport/ |
H A D | CholmodSupport.h | 180 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodBase 182 typedef typename MatrixType::Scalar Scalar; 183 typedef typename MatrixType::RealScalar RealScalar; 184 typedef MatrixType CholMatrixType; 185 typedef typename MatrixType::StorageIndex StorageIndex; 187 ColsAtCompileTime = MatrixType::ColsAtCompileTime, 188 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime 201 explicit CholmodBase(const MatrixType& matrix) 232 Derived& compute(const MatrixType& matrix) 245 void analyzePattern(const MatrixType 441 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodSimplicialLLT 492 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodSimplicialLDLT 541 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodSupernodalLLT 592 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodDecomposition [all...] |