Home
last modified time | relevance | path

Searched refs:Lhs (Results 1 – 25 of 44) sorted by relevance

12

/external/eigen/Eigen/src/Core/products/
DCoeffBasedProduct.h31 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>
241 typedef typename Lhs::Index Index;
[all …]
DTriangularMatrixVector.h150 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 …]
DSelfadjointMatrixVector.h165 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 …]
DGeneralMatrixMatrix.h199 template<typename Lhs, typename Rhs>
200 struct traits<GeneralProduct<Lhs,Rhs,GemmProduct> >
201 : traits<ProductBase<GeneralProduct<Lhs,Rhs,GemmProduct>, Lhs, Rhs> >
204 template<typename Scalar, typename Index, typename Gemm, typename Lhs, typename Rhs, typename Dest,…
207 gemm_functor(const Lhs& lhs, const Rhs& rhs, Dest& dest, Scalar actualAlpha,
230 const Lhs& m_lhs;
378 template<typename Lhs, typename Rhs>
379 class GeneralProduct<Lhs, Rhs, GemmProduct>
380 : public ProductBase<GeneralProduct<Lhs,Rhs,GemmProduct>, Lhs, Rhs>
383 …MaxDepthAtCompileTime = EIGEN_SIZE_MIN_PREFER_FIXED(Lhs::MaxColsAtCompileTime,Rhs::MaxRowsAtCompil…
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseDenseProduct.h15 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 …]
DSparseDiagonalProduct.h29 template<typename Lhs, typename Rhs>
30 struct traits<SparseDiagonalProduct<Lhs, Rhs> >
32 typedef typename remove_all<Lhs>::type _Lhs;
35 typedef typename promote_index_type<typename traits<Lhs>::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> >,
63 typedef typename Lhs::Nested LhsNested;
83 EIGEN_STRONG_INLINE SparseDiagonalProduct(const Lhs& lhs, const Rhs& rhs)
102 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType>
[all …]
DConservativeSparseSparseProduct.h17 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()
20 typedef typename remove_all<Lhs>::type::Scalar Scalar; in conservative_sparse_sparse_product_impl()
21 typedef typename remove_all<Lhs>::type::Index Index; in conservative_sparse_sparse_product_impl()
52 for (typename Lhs::InnerIterator lhsIt(lhs, k); lhsIt; ++lhsIt) in conservative_sparse_sparse_product_impl()
123 template<typename Lhs, typename Rhs, typename ResultType,
124 int LhsStorageOrder = traits<Lhs>::Flags&RowMajorBit,
129 template<typename Lhs, typename Rhs, typename ResultType>
130 struct conservative_sparse_sparse_product_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
132 typedef typename remove_all<Lhs>::type LhsCleaned;
[all …]
DSparseSparseProductWithPruning.h19 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()
24 typedef typename remove_all<Lhs>::type::Scalar Scalar; in sparse_sparse_product_with_pruning_impl()
25 typedef typename remove_all<Lhs>::type::Index Index; in sparse_sparse_product_with_pruning_impl()
64 for (typename Lhs::InnerIterator lhsIt(lhs, rhsIt.index()); lhsIt; ++lhsIt) in sparse_sparse_product_with_pruning_impl()
76 template<typename Lhs, typename Rhs, typename ResultType,
77 int LhsStorageOrder = traits<Lhs>::Flags&RowMajorBit,
82 template<typename Lhs, typename Rhs, typename ResultType>
83 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
85 typedef typename traits<typename remove_all<Lhs>::type>::Scalar Scalar;
[all …]
DSparseCwiseBinaryOp.h40 template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived,
41 typename _LhsStorageMode = typename traits<Lhs>::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;
58 typedef typename internal::traits<Lhs>::StorageKind LhsStorageKind;
62 || ((Lhs::Flags&RowMajorBit) == (Rhs::Flags&RowMajorBit))),
67 template<typename BinaryOp, typename Lhs, typename Rhs>
68 class CwiseBinaryOpImpl<BinaryOp,Lhs,Rhs,Sparse>::InnerIterator
[all …]
DTriangularSolver.h17 template<typename Lhs, typename Rhs, int Mode,
23 int StorageOrder = int(traits<Lhs>::Flags) & RowMajorBit>
27 template<typename Lhs, typename Rhs, int Mode>
28 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Lower,RowMajor>
31 static void run(const Lhs& lhs, Rhs& other)
40 for(typename Lhs::InnerIterator it(lhs, i); it; ++it)
61 template<typename Lhs, typename Rhs, int Mode>
62 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor>
65 static void run(const Lhs& lhs, Rhs& other)
73 typename Lhs::InnerIterator it(lhs, i);
[all …]
DSparseProduct.h15 template<typename Lhs, typename Rhs>
18 typedef typename internal::traits<Lhs>::Scalar Scalar;
20 LhsRowMajor = internal::traits<Lhs>::Flags & RowMajorBit,
28 typename internal::nested<Lhs,Rhs::RowsAtCompileTime>::type>::type LhsNested;
32 typename internal::nested<Rhs,Lhs::RowsAtCompileTime>::type>::type RhsNested;
94 template<typename Lhs, typename Rhs>
95 EIGEN_STRONG_INLINE SparseSparseProduct(const Lhs& lhs, const Rhs& rhs)
101 template<typename Lhs, typename Rhs>
102 EIGEN_STRONG_INLINE SparseSparseProduct(const Lhs& lhs, const Rhs& rhs, RealScalar tolerance)
158 template<typename Lhs, typename Rhs>
[all …]
DSparseUtil.h79 template<typename Lhs, typename Rhs> class SparseDiagonalProduct;
82 template<typename Lhs, typename Rhs> class SparseSparseProduct;
83 template<typename Lhs, typename Rhs> class SparseTimeDenseProduct;
84 template<typename Lhs, typename Rhs> class DenseTimeSparseProduct;
85 template<typename Lhs, typename Rhs, bool Transpose> class SparseDenseOuterProduct;
87 template<typename Lhs, typename Rhs> struct SparseSparseProductReturnType;
88 template<typename Lhs, typename Rhs, int InnerSize = internal::traits<Lhs>::ColsAtCompileTime> stru…
89 template<typename Lhs, typename Rhs, int InnerSize = internal::traits<Lhs>::ColsAtCompileTime> stru…
DSparseSelfAdjointView.h29 template<typename Lhs, typename Rhs, int UpLo>
32 template<typename Lhs, typename Rhs, int UpLo>
192 template<typename Lhs, typename Rhs, int UpLo>
193 struct traits<SparseSelfAdjointTimeDenseProduct<Lhs,Rhs,UpLo> >
194 : traits<ProductBase<SparseSelfAdjointTimeDenseProduct<Lhs,Rhs,UpLo>, Lhs, Rhs> >
200 template<typename Lhs, typename Rhs, int UpLo>
202 : public ProductBase<SparseSelfAdjointTimeDenseProduct<Lhs,Rhs,UpLo>, Lhs, Rhs>
207 SparseSelfAdjointTimeDenseProduct(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs)
214 typedef typename internal::remove_all<Lhs>::type _Lhs;
241 typename Lhs::Scalar v = i.value();
[all …]
/external/eigen/Eigen/src/Core/
DSolveTriangular.h26 template<typename Lhs, typename Rhs, int Side>
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>
52 typedef typename Lhs::Scalar LhsScalar;
54 typedef blas_traits<Lhs> LhsProductTraits;
57 static void run(const Lhs& lhs, Rhs& rhs)
71 …triangular_solve_vector<LhsScalar, RhsScalar, typename Lhs::Index, Side, Mode, LhsProductTraits::N…
[all …]
DProduct.h13 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> >
33 typedef typename remove_all<Lhs>::type LhsCleaned;
52 template<typename Lhs, typename Rhs>
53 class Product : public ProductImpl<Lhs,Rhs,typename internal::promote_storage_type<typename interna…
59 Lhs, Rhs,
60 typename internal::promote_storage_type<typename Lhs::StorageKind,
64 typedef typename Lhs::Nested LhsNested;
[all …]
DCwiseBinaryOp.h37 template<typename BinaryOp, typename Lhs, typename Rhs>
38 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
42 typedef typename remove_all<Lhs>::type Ancestor;
55 typename Lhs::Scalar,
59 typedef typename promote_storage_type<typename traits<Lhs>::StorageKind,
61 typedef typename promote_index_type<typename traits<Lhs>::Index,
63 typedef typename Lhs::Nested LhsNested;
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>
[all …]
DGeneralProduct.h35 template<typename Lhs, typename Rhs, int ProductType = internal::product_type<Lhs,Rhs>::value>
57 template<typename Lhs, typename Rhs> struct product_type
59 typedef typename remove_all<Lhs>::type _Lhs;
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 …]
DProductBase.h25 typedef typename remove_all<_Lhs>::type Lhs;
27 …typedef typename scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType Sca…
28 typedef typename promote_storage_type<typename traits<Lhs>::StorageKind,
30 typedef typename promote_index_type<typename traits<Lhs>::Index,
33 RowsAtCompileTime = traits<Lhs>::RowsAtCompileTime,
35 MaxRowsAtCompileTime = traits<Lhs>::MaxRowsAtCompileTime,
47 typedef ProductBase<Derived, Lhs, Rhs > Base; \
62 template<typename Derived, typename Lhs, typename Rhs>
69 typedef typename Lhs::Nested LhsNested;
74 typedef typename internal::traits<Lhs>::Scalar LhsScalar;
[all …]
DSelfCwiseBinaryOp.h31 template<typename BinaryOp, typename Lhs, typename Rhs>
32 struct traits<SelfCwiseBinaryOp<BinaryOp,Lhs,Rhs> >
33 : traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >
38 …Flags = traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >::Flags | (Lhs::Flags&DirectAccessBit) | (Lhs::Fla…
39 OuterStrideAtCompileTime = Lhs::OuterStrideAtCompileTime,
40 InnerStrideAtCompileTime = Lhs::InnerStrideAtCompileTime
45 template<typename BinaryOp, typename Lhs, typename Rhs> class SelfCwiseBinaryOp
46 : public internal::dense_xpr_base< SelfCwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
55 …inline SelfCwiseBinaryOp(Lhs& xpr, const BinaryOp& func = BinaryOp()) : m_matrix(xpr), m_functor(f…
67 EIGEN_STATIC_ASSERT_LVALUE(Lhs)
[all …]
DNoAlias.h68 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/unsupported/Eigen/src/Skyline/
DSkylineProduct.h15 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…
123 typedef typename remove_all<Lhs>::type _Lhs;
125 typedef typename traits<Lhs>::Scalar Scalar;
184 template<typename Lhs, typename Rhs, typename Dest>
[all …]
DSkylineUtil.h22 template<typename Lhs, typename Rhs, int ProductMode> class SkylineProduct;
71 template<typename Lhs, typename Rhs> struct skyline_product_mode;
72 template<typename Lhs, typename Rhs, int ProductMode = skyline_product_mode<Lhs,Rhs>::value> struct…
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h56 template<typename MatrixType,typename Lhs> struct homogeneous_left_product_impl;
94 template<typename Lhs> friend
95 inline const internal::homogeneous_left_product_impl<Homogeneous,Lhs>
96 operator* (const MatrixBase<Lhs>& lhs, const Homogeneous& rhs)
99 return internal::homogeneous_left_product_impl<Homogeneous,Lhs>(lhs.derived(),rhs.m_matrix);
218 template<typename MatrixType,typename Lhs>
219 struct traits<homogeneous_left_product_impl<Homogeneous<MatrixType,Vertical>,Lhs> >
221 typedef typename take_matrix_for_product<Lhs>::type LhsMatrixType;
233 template<typename MatrixType,typename Lhs>
234 struct homogeneous_left_product_impl<Homogeneous<MatrixType,Vertical>,Lhs>
[all …]
/external/eigen/Eigen/src/Eigen2Support/
DLazy.h52 template<typename ProductDerived, typename Lhs, typename Rhs>
53 Derived& MatrixBase<Derived>::operator+=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
62 template<typename ProductDerived, typename Lhs, typename Rhs>
63 Derived& MatrixBase<Derived>::operator-=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
/external/eigen/bench/
Dproduct_threshold.cpp38 template<int Mode, typename Lhs, typename Rhs, typename Res>
39 EIGEN_DONT_INLINE void prod(const Lhs& a, const Rhs& b, Res& c) in prod()
41 c.noalias() += typename ProductReturnType<Lhs,Rhs,Mode>::Type(a,b); in prod()
47 typedef Matrix<Scalar,M,K> Lhs; Lhs a; a.setRandom(); in bench_prod() typedef

12