/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 | 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 | 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 | 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/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… 148 template<typename Lhs, typename Rhs> 149 inline CoeffBasedProduct(const Lhs& lhs, const Rhs& rhs) 154 …EIGEN_STATIC_ASSERT((internal::scalar_product_traits<typename Lhs::RealScalar, typename Rhs::RealS… 225 template<typename Lhs, typename Rhs, int N, typename PlainObject> 226 struct nested<CoeffBasedProduct<Lhs,Rhs,EvalBeforeNestingBit|EvalBeforeAssigningBit>, N, PlainObjec… 239 template<int UnrollingIndex, typename Lhs, typename Rhs, typename RetScalar> 240 struct product_coeff_impl<DefaultTraversal, UnrollingIndex, Lhs, Rhs, RetScalar> 243 …static EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, RetScala… [all …]
|
D | TriangularMatrixVector.h | 160 template<int Mode, bool LhsIsTriangular, typename Lhs, typename Rhs> 161 struct traits<TriangularProduct<Mode,LhsIsTriangular,Lhs,false,Rhs,true> > 162 : traits<ProductBase<TriangularProduct<Mode,LhsIsTriangular,Lhs,false,Rhs,true>, Lhs, Rhs> > 165 template<int Mode, bool LhsIsTriangular, typename Lhs, typename Rhs> 166 struct traits<TriangularProduct<Mode,LhsIsTriangular,Lhs,true,Rhs,false> > 167 : traits<ProductBase<TriangularProduct<Mode,LhsIsTriangular,Lhs,true,Rhs,false>, Lhs, Rhs> > 176 template<int Mode, typename Lhs, typename Rhs> 177 struct TriangularProduct<Mode,true,Lhs,false,Rhs,true> 178 : public ProductBase<TriangularProduct<Mode,true,Lhs,false,Rhs,true>, Lhs, Rhs > 182 TriangularProduct(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {} [all …]
|
D | SelfadjointMatrixVector.h | 172 template<typename Lhs, int LhsMode, typename Rhs> 173 struct traits<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true> > 174 : traits<ProductBase<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>, Lhs, Rhs> > 178 template<typename Lhs, int LhsMode, typename Rhs> 179 struct SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true> 180 : public ProductBase<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>, Lhs, Rhs > 188 SelfadjointProductMatrix(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {} 252 template<typename Lhs, typename Rhs, int RhsMode> 253 struct traits<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false> > 254 : traits<ProductBase<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false>, Lhs, 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> 24 SparseDenseOuterProduct<Rhs,Lhs,true>, 25 SparseDenseOuterProduct<Lhs,Rhs,false> >::type Type; 28 template<typename Lhs, typename Rhs, int InnerSize> struct DenseSparseProductReturnType 30 typedef DenseTimeSparseProduct<Lhs,Rhs> Type; 33 template<typename Lhs, typename Rhs> struct DenseSparseProductReturnType<Lhs,Rhs,1> 36 Rhs::IsRowMajor, 37 SparseDenseOuterProduct<Rhs,Lhs,true>, [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) ? RowMajor : ColMajor, 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 | 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; 87 EIGEN_STRONG_INLINE SparseDiagonalProduct(const Lhs& lhs, const Rhs& rhs) 106 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType> [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, const 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/unsupported/Eigen/src/KroneckerProduct/ |
D | KroneckerTensorProduct.h | 29 template<typename Lhs, typename Rhs> 30 class KroneckerProduct : public ReturnByValue<KroneckerProduct<Lhs,Rhs> > 39 KroneckerProduct(const Lhs& A, const Rhs& B) in KroneckerProduct() 63 typename Rhs::Nested m_B; 79 template<typename Lhs, typename Rhs> 80 class KroneckerProductSparse : public EigenBase<KroneckerProductSparse<Lhs,Rhs> > 87 KroneckerProductSparse(const Lhs& A, const Rhs& B) in KroneckerProductSparse() 107 typename Rhs::Nested m_B; 110 template<typename Lhs, typename Rhs> 112 void KroneckerProduct<Lhs,Rhs>::evalTo(Dest& dst) const in evalTo() [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() 201 template<typename Rhs,typename Guess> 202 inline const internal::solve_retval_with_guess<ConjugateGradient, Rhs, Guess> 203 solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const 209 <ConjugateGradient, Rhs, Guess>(*this, b.derived(), x0); 213 template<typename Rhs,typename Dest> 214 void _solveWithGuess(const Rhs& b, Dest& x) const 234 template<typename Rhs,typename Dest> 235 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() 211 template<typename Rhs,typename Guess> 212 inline const internal::solve_retval_with_guess<BiCGSTAB, Rhs, Guess> 213 solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const 219 <BiCGSTAB, Rhs, Guess>(*this, b.derived(), x0); 223 template<typename Rhs,typename Dest> 224 void _solveWithGuess(const Rhs& b, Dest& x) const 243 template<typename Rhs,typename Dest> 244 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/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 | MINRES.h | 29 template<typename MatrixType, typename Rhs, typename Dest, typename Preconditioner> 31 void minres(const MatrixType& mat, const Rhs& rhs, Dest& x, in minres() 238 template<typename Rhs,typename Guess> 239 inline const internal::solve_retval_with_guess<MINRES, Rhs, Guess> 240 solveWithGuess(const MatrixBase<Rhs>& b, const Guess& x0) const 246 <MINRES, Rhs, Guess>(*this, b.derived(), x0); 250 template<typename Rhs,typename Dest> 251 void _solveWithGuess(const Rhs& b, Dest& x) const 271 template<typename Rhs,typename Dest> 272 void _solve(const Rhs& b, Dest& x) const [all …]
|
/external/eigen/Eigen/src/CholmodSupport/ |
D | CholmodSupport.h | 223 template<typename Rhs> 224 inline const internal::solve_retval<CholmodBase, Rhs> 225 solve(const MatrixBase<Rhs>& b) const in solve() 230 return internal::solve_retval<CholmodBase, Rhs>(*this, b.derived()); in solve() 237 template<typename Rhs> 238 inline const internal::sparse_solve_retval<CholmodBase, Rhs> 239 solve(const SparseMatrixBase<Rhs>& b) const in solve() 244 return internal::sparse_solve_retval<CholmodBase, Rhs>(*this, b.derived()); in solve() 292 template<typename Rhs,typename Dest> 293 void _solve(const MatrixBase<Rhs> &b, MatrixBase<Dest> &dest) const in _solve() [all …]
|