/external/eigen/Eigen/src/Core/ |
D | SolveTriangular.h | 26 template<typename Lhs, typename Rhs, int Side> 31 … RhsIsVectorAtCompileTime = (Side==OnTheLeft ? Rhs::ColsAtCompileTime : Rhs::RowsAtCompileTime)==1 35 …Unrolling = (RhsIsVectorAtCompileTime && Rhs::SizeAtCompileTime != Dynamic && Rhs::SizeAtCompile… 41 template<typename Lhs, typename Rhs, 44 int Unrolling = trsolve_traits<Lhs,Rhs,Side>::Unrolling, 45 int RhsVectors = trsolve_traits<Lhs,Rhs,Side>::RhsVectors 49 template<typename Lhs, typename Rhs, int Side, int Mode> 50 struct triangular_solver_selector<Lhs,Rhs,Side,Mode,NoUnrolling,1> 53 typedef typename Rhs::Scalar RhsScalar; 57 static void run(const Lhs& lhs, Rhs& rhs) [all …]
|
D | Product.h | 13 template<typename Lhs, typename Rhs> class Product; 14 template<typename Lhs, typename Rhs, typename StorageKind> class ProductImpl; 29 template<typename Lhs, typename Rhs> 30 struct traits<Product<Lhs, Rhs> > 34 typedef typename remove_all<Rhs>::type RhsCleaned; 52 template<typename Lhs, typename Rhs> 53 class Product : public ProductImpl<Lhs,Rhs,typename internal::promote_storage_type<typename interna… 54 … typename internal::traits<Rhs>::StorageKind>::ret> 59 Lhs, Rhs, 61 typename Rhs::StorageKind>::ret>::Base Base; [all …]
|
D | GeneralProduct.h | 35 template<typename Lhs, typename Rhs, int ProductType = internal::product_type<Lhs,Rhs>::value> 57 template<typename Lhs, typename Rhs> struct product_type 60 typedef typename remove_all<Rhs>::type _Rhs; 148 template<typename Lhs, typename Rhs, int ProductType> 155 typedef GeneralProduct<Lhs/*Nested*/, Rhs/*Nested*/, ProductType> Type; 158 template<typename Lhs, typename Rhs> 159 struct ProductReturnType<Lhs,Rhs,CoeffBasedProductMode> 161 …typedef typename internal::nested<Lhs, Rhs::ColsAtCompileTime, typename internal::plain_matrix_typ… 162 …typedef typename internal::nested<Rhs, Lhs::RowsAtCompileTime, typename internal::plain_matrix_typ… 166 template<typename Lhs, typename Rhs> [all …]
|
D | CwiseBinaryOp.h | 37 template<typename BinaryOp, typename Lhs, typename Rhs> 38 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> > 56 typename Rhs::Scalar 60 typename traits<Rhs>::StorageKind>::ret StorageKind; 62 typename traits<Rhs>::Index>::type Index; 64 typedef typename Rhs::Nested RhsNested; 73 StorageOrdersAgree = (int(Lhs::Flags)&RowMajorBit)==(int(Rhs::Flags)&RowMajorBit), 102 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind> 105 template<typename BinaryOp, typename Lhs, typename Rhs> 108 BinaryOp, Lhs, Rhs, [all …]
|
D | ProductBase.h | 26 typedef typename remove_all<_Rhs>::type Rhs; 27 …typedef typename scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType Sca… 29 typename traits<Rhs>::StorageKind>::ret StorageKind; 31 typename traits<Rhs>::Index>::type Index; 34 ColsAtCompileTime = traits<Rhs>::ColsAtCompileTime, 36 MaxColsAtCompileTime = traits<Rhs>::MaxColsAtCompileTime, 47 typedef ProductBase<Derived, Lhs, Rhs > Base; \ 62 template<typename Derived, typename Lhs, typename Rhs> 76 typedef typename Rhs::Nested RhsNested; 81 typedef typename internal::traits<Rhs>::Scalar RhsScalar; [all …]
|
D | NoAlias.h | 68 template<typename ProductDerived, typename Lhs, typename Rhs> 69 … EIGEN_STRONG_INLINE ExpressionType& operator+=(const ProductBase<ProductDerived, Lhs,Rhs>& other) 72 template<typename ProductDerived, typename Lhs, typename Rhs> 73 … EIGEN_STRONG_INLINE ExpressionType& operator-=(const ProductBase<ProductDerived, Lhs,Rhs>& other) 76 template<typename Lhs, typename Rhs, int NestingFlags> 77 …EIGEN_STRONG_INLINE ExpressionType& operator+=(const CoeffBasedProduct<Lhs,Rhs,NestingFlags>& othe… 78 …{ return m_expression.derived() += CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs(… 80 template<typename Lhs, typename Rhs, int NestingFlags> 81 …EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct<Lhs,Rhs,NestingFlags>& othe… 82 …{ return m_expression.derived() -= CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs(…
|
/external/eigen/Eigen/src/misc/ |
D | SparseSolve.h | 17 template<typename _DecompositionType, typename Rhs> struct sparse_solve_retval_base; 18 template<typename _DecompositionType, typename Rhs> struct sparse_solve_retval; 20 template<typename DecompositionType, typename Rhs> 21 struct traits<sparse_solve_retval_base<DecompositionType, Rhs> > 24 typedef SparseMatrix<typename Rhs::Scalar, Rhs::Options, typename Rhs::Index> ReturnType; 27 template<typename _DecompositionType, typename Rhs> struct sparse_solve_retval_base 28 : public ReturnByValue<sparse_solve_retval_base<_DecompositionType, Rhs> > 30 typedef typename remove_all<typename Rhs::Nested>::type RhsNestedCleaned; 35 sparse_solve_retval_base(const DecompositionType& dec, const Rhs& rhs) 46 static_cast<const sparse_solve_retval<DecompositionType,Rhs>*>(this)->evalTo(dst); [all …]
|
D | Solve.h | 20 template<typename DecompositionType, typename Rhs> 21 struct traits<solve_retval_base<DecompositionType, Rhs> > 24 typedef Matrix<typename Rhs::Scalar, 26 Rhs::ColsAtCompileTime, 27 Rhs::PlainObject::Options, 29 Rhs::MaxColsAtCompileTime> ReturnType; 32 template<typename _DecompositionType, typename Rhs> struct solve_retval_base 33 : public ReturnByValue<solve_retval_base<_DecompositionType, Rhs> > 35 typedef typename remove_all<typename Rhs::Nested>::type RhsNestedCleaned; 40 solve_retval_base(const DecompositionType& dec, const Rhs& rhs) [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseDenseProduct.h | 15 template<typename Lhs, typename Rhs, int InnerSize> struct SparseDenseProductReturnType 17 typedef SparseTimeDenseProduct<Lhs,Rhs> Type; 20 template<typename Lhs, typename Rhs> struct SparseDenseProductReturnType<Lhs,Rhs,1> 22 typedef SparseDenseOuterProduct<Lhs,Rhs,false> Type; 25 template<typename Lhs, typename Rhs, int InnerSize> struct DenseSparseProductReturnType 27 typedef DenseTimeSparseProduct<Lhs,Rhs> Type; 30 template<typename Lhs, typename Rhs> struct DenseSparseProductReturnType<Lhs,Rhs,1> 32 typedef SparseDenseOuterProduct<Rhs,Lhs,true> Type; 37 template<typename Lhs, typename Rhs, bool Tr> 38 struct traits<SparseDenseOuterProduct<Lhs,Rhs,Tr> > [all …]
|
D | SparseDiagonalProduct.h | 29 template<typename Lhs, typename Rhs> 30 struct traits<SparseDiagonalProduct<Lhs, Rhs> > 33 typedef typename remove_all<Rhs>::type _Rhs; 36 typename traits<Rhs>::Index>::type Index; 53 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType, int RhsMode, int LhsMode> 58 template<typename Lhs, typename Rhs> 60 : public SparseMatrixBase<SparseDiagonalProduct<Lhs,Rhs> >, 64 typedef typename Rhs::Nested RhsNested; 83 EIGEN_STRONG_INLINE SparseDiagonalProduct(const Lhs& lhs, const Rhs& rhs) 102 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType> [all …]
|
D | ConservativeSparseSparseProduct.h | 17 template<typename Lhs, typename Rhs, typename ResultType> 18 static void conservative_sparse_sparse_product_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res) in conservative_sparse_sparse_product_impl() 48 for (typename Rhs::InnerIterator rhsIt(rhs, j); rhsIt; ++rhsIt) in conservative_sparse_sparse_product_impl() 123 template<typename Lhs, typename Rhs, typename ResultType, 125 int RhsStorageOrder = traits<Rhs>::Flags&RowMajorBit, 129 template<typename Lhs, typename Rhs, typename ResultType> 130 struct conservative_sparse_sparse_product_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor> 135 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res) 140 internal::conservative_sparse_sparse_product_impl<Lhs,Rhs,ColMajorMatrix>(lhs, rhs, resCol); 147 template<typename Lhs, typename Rhs, typename ResultType> [all …]
|
D | SparseSparseProductWithPruning.h | 19 template<typename Lhs, typename Rhs, typename ResultType> 20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res… in sparse_sparse_product_with_pruning_impl() 59 for (typename Rhs::InnerIterator rhsIt(rhs, j); rhsIt; ++rhsIt) in sparse_sparse_product_with_pruning_impl() 76 template<typename Lhs, typename Rhs, typename ResultType, 78 int RhsStorageOrder = traits<Rhs>::Flags&RowMajorBit, 82 template<typename Lhs, typename Rhs, typename ResultType> 83 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor> 88 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance) 91 … internal::sparse_sparse_product_with_pruning_impl<Lhs,Rhs,ResultType>(lhs, rhs, _res, tolerance); 96 template<typename Lhs, typename Rhs, typename ResultType> [all …]
|
D | TriangularSolver.h | 17 template<typename Lhs, typename Rhs, int Mode, 27 template<typename Lhs, typename Rhs, int Mode> 28 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Lower,RowMajor> 30 typedef typename Rhs::Scalar Scalar; 31 static void run(const Lhs& lhs, Rhs& other) 61 template<typename Lhs, typename Rhs, int Mode> 62 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor> 64 typedef typename Rhs::Scalar Scalar; 65 static void run(const Lhs& lhs, Rhs& other) 99 template<typename Lhs, typename Rhs, int Mode> [all …]
|
D | SparseCwiseBinaryOp.h | 40 template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived, 42 typename _RhsStorageMode = typename traits<Rhs>::StorageKind> 47 template<typename BinaryOp, typename Lhs, typename Rhs> 48 class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Sparse> 49 : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> > 54 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived; 59 typedef typename internal::traits<Rhs>::StorageKind RhsStorageKind; 62 || ((Lhs::Flags&RowMajorBit) == (Rhs::Flags&RowMajorBit))), 67 template<typename BinaryOp, typename Lhs, typename Rhs> 68 class CwiseBinaryOpImpl<BinaryOp,Lhs,Rhs,Sparse>::InnerIterator [all …]
|
/external/eigen/Eigen/src/Core/products/ |
D | CoeffBasedProduct.h | 31 template<int Traversal, int UnrollingIndex, typename Lhs, typename Rhs, typename RetScalar> 34 template<int StorageOrder, int UnrollingIndex, typename Lhs, typename Rhs, typename Packet, int Loa… 147 template<typename Lhs, typename Rhs> 148 inline CoeffBasedProduct(const Lhs& lhs, const Rhs& rhs) 153 …EIGEN_STATIC_ASSERT((internal::is_same<typename Lhs::RealScalar, typename Rhs::RealScalar>::value), 224 template<typename Lhs, typename Rhs, int N, typename PlainObject> 225 struct nested<CoeffBasedProduct<Lhs,Rhs,EvalBeforeNestingBit|EvalBeforeAssigningBit>, N, PlainObjec… 238 template<int UnrollingIndex, typename Lhs, typename Rhs, typename RetScalar> 239 struct product_coeff_impl<DefaultTraversal, UnrollingIndex, Lhs, Rhs, RetScalar> 242 …static EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, RetScala… [all …]
|
D | TriangularMatrixVector.h | 150 template<int Mode, bool LhsIsTriangular, typename Lhs, typename Rhs> 151 struct traits<TriangularProduct<Mode,LhsIsTriangular,Lhs,false,Rhs,true> > 152 : traits<ProductBase<TriangularProduct<Mode,LhsIsTriangular,Lhs,false,Rhs,true>, Lhs, Rhs> > 155 template<int Mode, bool LhsIsTriangular, typename Lhs, typename Rhs> 156 struct traits<TriangularProduct<Mode,LhsIsTriangular,Lhs,true,Rhs,false> > 157 : traits<ProductBase<TriangularProduct<Mode,LhsIsTriangular,Lhs,true,Rhs,false>, Lhs, Rhs> > 166 template<int Mode, typename Lhs, typename Rhs> 167 struct TriangularProduct<Mode,true,Lhs,false,Rhs,true> 168 : public ProductBase<TriangularProduct<Mode,true,Lhs,false,Rhs,true>, Lhs, Rhs > 172 TriangularProduct(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {} [all …]
|
D | SelfadjointMatrixVector.h | 165 template<typename Lhs, int LhsMode, typename Rhs> 166 struct traits<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true> > 167 : traits<ProductBase<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>, Lhs, Rhs> > 171 template<typename Lhs, int LhsMode, typename Rhs> 172 struct SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true> 173 : public ProductBase<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>, Lhs, Rhs > 181 SelfadjointProductMatrix(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {} 245 template<typename Lhs, typename Rhs, int RhsMode> 246 struct traits<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false> > 247 : traits<ProductBase<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false>, Lhs, Rhs> > [all …]
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
D | BasicPreconditioners.h | 83 template<typename Rhs, typename Dest> 84 void _solve(const Rhs& b, Dest& x) const in _solve() 89 template<typename Rhs> inline const internal::solve_retval<DiagonalPreconditioner, Rhs> 90 solve(const MatrixBase<Rhs>& b) const in solve() 95 return internal::solve_retval<DiagonalPreconditioner, Rhs>(*this, b.derived()); in solve() 105 template<typename _MatrixType, typename Rhs> 106 struct solve_retval<DiagonalPreconditioner<_MatrixType>, Rhs> 107 : solve_retval_base<DiagonalPreconditioner<_MatrixType>, Rhs> 110 EIGEN_MAKE_SOLVE_HELPERS(Dec,Rhs) 143 template<typename Rhs> [all …]
|
D | IterativeSolverBase.h | 166 template<typename Rhs> inline const internal::solve_retval<Derived, Rhs> 167 solve(const MatrixBase<Rhs>& b) const in solve() 172 return internal::solve_retval<Derived, Rhs>(derived(), b.derived()); in solve() 179 template<typename Rhs> 180 inline const internal::sparse_solve_retval<IterativeSolverBase, Rhs> 181 solve(const SparseMatrixBase<Rhs>& b) const in solve() 186 return internal::sparse_solve_retval<IterativeSolverBase, Rhs>(*this, b.derived()); in solve() 197 template<typename Rhs, typename DestScalar, int DestOptions, typename DestIndex> 198 void _solve_sparse(const Rhs& b, SparseMatrix<DestScalar,DestOptions,DestIndex> &dest) const in _solve_sparse() 237 template<typename Derived, typename Rhs> [all …]
|
D | ConjugateGradient.h | 26 template<typename MatrixType, typename Rhs, typename Dest, typename Preconditioner> 28 void conjugate_gradient(const MatrixType& mat, const Rhs& rhs, Dest& x, in conjugate_gradient() 187 template<typename Rhs,typename Guess> 188 inline const internal::solve_retval_with_guess<ConjugateGradient, Rhs, Guess> 189 solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const 195 <ConjugateGradient, Rhs, Guess>(*this, b.derived(), x0); 199 template<typename Rhs,typename Dest> 200 void _solveWithGuess(const Rhs& b, Dest& x) const 220 template<typename Rhs,typename Dest> 221 void _solve(const Rhs& b, Dest& x) const [all …]
|
D | BiCGSTAB.h | 28 template<typename MatrixType, typename Rhs, typename Dest, typename Preconditioner> 29 bool bicgstab(const MatrixType& mat, const Rhs& rhs, Dest& x, in bicgstab() 191 template<typename Rhs,typename Guess> 192 inline const internal::solve_retval_with_guess<BiCGSTAB, Rhs, Guess> 193 solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const 199 <BiCGSTAB, Rhs, Guess>(*this, b.derived(), x0); 203 template<typename Rhs,typename Dest> 204 void _solveWithGuess(const Rhs& b, Dest& x) const 223 template<typename Rhs,typename Dest> 224 void _solve(const Rhs& b, Dest& x) const [all …]
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | IncompleteLU.h | 73 template<typename Rhs, typename Dest> 74 void _solve(const Rhs& b, Dest& x) const in _solve() 80 template<typename Rhs> inline const internal::solve_retval<IncompleteLU, Rhs> 81 solve(const MatrixBase<Rhs>& b) const in solve() 86 return internal::solve_retval<IncompleteLU, Rhs>(*this, b.derived()); in solve() 96 template<typename _MatrixType, typename Rhs> 97 struct solve_retval<IncompleteLU<_MatrixType>, Rhs> 98 : solve_retval_base<IncompleteLU<_MatrixType>, Rhs> 101 EIGEN_MAKE_SOLVE_HELPERS(Dec,Rhs)
|
D | GMRES.h | 55 template<typename MatrixType, typename Rhs, typename Dest, typename Preconditioner> 56 bool gmres(const MatrixType & mat, const Rhs & rhs, Dest & x, const Preconditioner & precond, in gmres() 316 template<typename Rhs,typename Guess> 317 inline const internal::solve_retval_with_guess<GMRES, Rhs, Guess> 318 solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const 324 <GMRES, Rhs, Guess>(*this, b.derived(), x0); 328 template<typename Rhs,typename Dest> 329 void _solveWithGuess(const Rhs& b, Dest& x) const 348 template<typename Rhs,typename Dest> 349 void _solve(const Rhs& b, Dest& x) const [all …]
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
D | SkylineProduct.h | 15 template<typename Lhs, typename Rhs, int ProductMode> 17 typedef const typename internal::nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested; 18 typedef const typename internal::nested<Rhs, Lhs::RowsAtCompileTime>::type RhsNested; 75 template<typename Lhs, typename Rhs> 76 EIGEN_STRONG_INLINE SkylineProduct(const Lhs& lhs, const Rhs& rhs) 121 template<typename Lhs, typename Rhs, typename Dest> 122 EIGEN_DONT_INLINE void skyline_row_major_time_dense_product(const Lhs& lhs, const Rhs& rhs, Dest& d… 124 typedef typename remove_all<Rhs>::type _Rhs; 184 template<typename Lhs, typename Rhs, typename Dest> 185 EIGEN_DONT_INLINE void skyline_col_major_time_dense_product(const Lhs& lhs, const Rhs& rhs, Dest& d… [all …]
|
/external/eigen/Eigen/src/Geometry/ |
D | Homogeneous.h | 57 template<typename MatrixType,typename Rhs> struct homogeneous_right_product_impl; 86 template<typename Rhs> 87 inline const internal::homogeneous_right_product_impl<Homogeneous,Rhs> 88 operator* (const MatrixBase<Rhs>& rhs) const 91 return internal::homogeneous_right_product_impl<Homogeneous,Rhs>(m_matrix,rhs.derived()); 264 template<typename MatrixType,typename Rhs> 265 struct traits<homogeneous_right_product_impl<Homogeneous<MatrixType,Horizontal>,Rhs> > 269 Rhs::ColsAtCompileTime, 272 Rhs::MaxColsAtCompileTime>::type ReturnType; 275 template<typename MatrixType,typename Rhs> [all …]
|