Home
last modified time | relevance | path

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

123

/external/eigen/Eigen/src/Core/
DProductEvaluators.h28 template<typename Lhs, typename Rhs, int Options>
29 struct evaluator<Product<Lhs, Rhs, Options> >
30 : public product_evaluator<Product<Lhs, Rhs, Options> >
32 typedef Product<Lhs, Rhs, Options> XprType;
40 template<typename Lhs, typename Rhs, typename Scalar1, typename Scalar2, typename Plain1>
43 const Product<Lhs, Rhs, DefaultProduct> > >
47 template<typename Lhs, typename Rhs, typename Scalar1, typename Scalar2, typename Plain1>
50 const Product<Lhs, Rhs, DefaultProduct> > >
51 …: public evaluator<Product<EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar1,Lhs,product), Rhs, Defau…
55 const Product<Lhs, Rhs, DefaultProduct> > XprType;
[all …]
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)
72 (int(Lhs::Flags) & RowMajorBit) ? RowMajor : ColMajor>
[all …]
DProduct.h15 template<typename Lhs, typename Rhs, int Option, typename StorageKind> class ProductImpl;
19 template<typename Lhs, typename Rhs, int Option>
20 struct traits<Product<Lhs, Rhs, Option> >
22 typedef typename remove_all<Lhs>::type LhsCleaned;
32 … internal::product_type<Lhs,Rhs>::ret>::ret StorageKind;
78 typedef _Lhs Lhs;
82 Lhs, Rhs, Option,
83 typename internal::product_promote_storage_type<typename internal::traits<Lhs>::StorageKind,
85 … internal::product_type<Lhs,Rhs>::ret>::ret>::Base Base;
88 typedef typename internal::ref_selector<Lhs>::type LhsNested;
[all …]
DCwiseBinaryOp.h17 template<typename BinaryOp, typename Lhs, typename Rhs>
18 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
22 typedef typename remove_all<Lhs>::type Ancestor;
35 const typename Lhs::Scalar&,
39 typedef typename cwise_promote_storage_type<typename traits<Lhs>::StorageKind,
42 typedef typename promote_index_type<typename traits<Lhs>::StorageIndex,
44 typedef typename Lhs::Nested LhsNested;
49 …Flags = cwise_promote_storage_order<typename traits<Lhs>::StorageKind,typename traits<Rhs>::Storag…
54 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
88 typedef typename internal::remove_all<LhsType>::type Lhs;
[all …]
DGeneralProduct.h36 template<typename Lhs, typename Rhs> struct product_type
38 typedef typename remove_all<Lhs>::type _Lhs;
186 template<typename Lhs, typename Rhs, typename Dest>
187 static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha)
198 template<typename Lhs, typename Rhs, typename Dest>
199 …static inline void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& al…
201 typedef typename Lhs::Scalar LhsScalar;
206 typedef internal::blas_traits<Lhs> LhsBlasTraits;
292 template<typename Lhs, typename Rhs, typename Dest>
293 static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha)
[all …]
/external/eigen/Eigen/src/SparseCore/
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::StorageIndex StorageIndex; in sparse_sparse_product_with_pruning_impl()
42 evaluator<Lhs> lhsEval(lhs); in sparse_sparse_product_with_pruning_impl()
67 for (typename evaluator<Lhs>::InnerIterator lhsIt(lhsEval, rhsIt.index()); lhsIt; ++lhsIt) in sparse_sparse_product_with_pruning_impl()
79 template<typename Lhs, typename Rhs, typename ResultType,
80 int LhsStorageOrder = traits<Lhs>::Flags&RowMajorBit,
85 template<typename Lhs, typename Rhs, typename ResultType>
86 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
[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…
20 typedef typename remove_all<Lhs>::type::Scalar Scalar;
33 evaluator<Lhs> lhsEval(lhs);
56 for (typename evaluator<Lhs>::InnerIterator lhsIt(lhsEval, k); lhsIt; ++lhsIt)
125 template<typename Lhs, typename Rhs, typename ResultType,
126 int LhsStorageOrder = (traits<Lhs>::Flags&RowMajorBit) ? RowMajor : ColMajor,
131 template<typename Lhs, typename Rhs, typename ResultType>
132 struct conservative_sparse_sparse_product_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
134 typedef typename remove_all<Lhs>::type LhsCleaned;
[all …]
DSparseProduct.h37 template<typename Lhs, typename Rhs, int ProductType>
38 struct generic_product_impl<Lhs, Rhs, SparseShape, SparseShape, ProductType>
41 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs)
60 …static void subTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, typename enable_if<is_same<typename e…
69 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, SparseShape)
71 typedef typename nested_eval<Lhs,Dynamic>::type LhsNested;
81 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, DenseShape)
89 template<typename Lhs, typename Rhs, int ProductType>
90 struct generic_product_impl<Lhs, Rhs, SparseShape, SparseTriangularShape, ProductType>
91 : public generic_product_impl<Lhs, Rhs, SparseShape, SparseShape, ProductType>
[all …]
DSparseDenseProduct.h29 typedef typename internal::remove_all<SparseLhsType>::type Lhs;
32 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
33 typedef evaluator<Lhs> LhsEval;
88 typedef typename internal::remove_all<SparseLhsType>::type Lhs;
91 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
94 evaluator<Lhs> lhsEval(lhs);
111 typedef typename internal::remove_all<SparseLhsType>::type Lhs;
114 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
117 evaluator<Lhs> lhsEval(lhs);
130 typedef typename internal::remove_all<SparseLhsType>::type Lhs;
[all …]
DSparseCwiseBinaryOp.h35 template<typename BinaryOp, typename Lhs, typename Rhs>
36 class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Sparse>
37 : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
40 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
46 (!internal::is_same<typename internal::traits<Lhs>::StorageKind, in CwiseBinaryOpImpl()
48 …|| ((internal::evaluator<Lhs>::Flags&RowMajorBit) == (internal::evaluator<Rhs>::Flags&RowMajorBit… in CwiseBinaryOpImpl()
59 template<typename BinaryOp, typename Lhs, typename Rhs>
60 struct binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs>, IteratorBased, IteratorBased>
61 : evaluator_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
64 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
[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 typedef evaluator<Lhs> LhsEval;
32 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
33 static void run(const Lhs& lhs, Rhs& other)
64 template<typename Lhs, typename Rhs, int Mode>
65 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor>
68 typedef evaluator<Lhs> LhsEval;
[all …]
DSparseDiagonalProduct.h37 template<typename Lhs, typename Rhs, int ProductTag>
38 struct product_evaluator<Product<Lhs, Rhs, DefaultProduct>, ProductTag, DiagonalShape, SparseShape>
39 …: public sparse_diagonal_product_evaluator<Rhs, typename Lhs::DiagonalVectorType, Rhs::Flags&RowMa…
41 typedef Product<Lhs, Rhs, DefaultProduct> XprType;
44 …typedef sparse_diagonal_product_evaluator<Rhs, typename Lhs::DiagonalVectorType, Rhs::Flags&RowMaj…
48 template<typename Lhs, typename Rhs, int ProductTag>
49 struct product_evaluator<Product<Lhs, Rhs, DefaultProduct>, ProductTag, SparseShape, DiagonalShape>
50 …: public sparse_diagonal_product_evaluator<Lhs, Transpose<const typename Rhs::DiagonalVectorType>,…
52 typedef Product<Lhs, Rhs, DefaultProduct> XprType;
53 …enum { CoeffReadCost = HugeCost, Flags = Lhs::Flags&RowMajorBit, Alignment = 0 }; // FIXME CoeffRe…
[all …]
DSparseUtil.h58 template<typename Lhs, typename Rhs> class SparseDiagonalProduct;
61 template<typename Lhs, typename Rhs> class SparseSparseProduct;
62 template<typename Lhs, typename Rhs> class SparseTimeDenseProduct;
63 template<typename Lhs, typename Rhs> class DenseTimeSparseProduct;
64 template<typename Lhs, typename Rhs, bool Transpose> class SparseDenseOuterProduct;
66 template<typename Lhs, typename Rhs> struct SparseSparseProductReturnType;
67 template<typename Lhs, typename Rhs,
68 …int InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(internal::traits<Lhs>::ColsAtCompileTime,internal::tra…
70 template<typename Lhs, typename Rhs,
71 …int InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(internal::traits<Lhs>::ColsAtCompileTime,internal::tra…
DSparsePermutation.h95 template<typename Lhs, typename Rhs, int ProductTag>
96 struct product_evaluator<Product<Lhs, Rhs, AliasFreeProduct>, ProductTag, PermutationShape, SparseS…
99 typedef Product<Lhs, Rhs, AliasFreeProduct> XprType;
111 …generic_product_impl<Lhs, Rhs, PermutationShape, SparseShape, ProductTag>::evalTo(m_result, xpr.lh…
118 template<typename Lhs, typename Rhs, int ProductTag>
119 struct product_evaluator<Product<Lhs, Rhs, AliasFreeProduct>, ProductTag, SparseShape, PermutationS…
120 …: public evaluator<typename permutation_matrix_product<Lhs,OnTheRight,false,SparseShape>::ReturnTy…
122 typedef Product<Lhs, Rhs, AliasFreeProduct> XprType;
123 …typedef typename permutation_matrix_product<Lhs,OnTheRight,false,SparseShape>::ReturnType PlainObj…
134 …generic_product_impl<Lhs, Rhs, SparseShape, PermutationShape, ProductTag>::evalTo(m_result, xpr.lh…
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h32 typedef typename Traits::Lhs Lhs; typedef
37 KroneckerProductBase(const Lhs& A, const Rhs& B) in KroneckerProductBase()
65 typename Lhs::Nested m_A;
81 template<typename Lhs, typename Rhs>
82 class KroneckerProduct : public KroneckerProductBase<KroneckerProduct<Lhs,Rhs> >
91 KroneckerProduct(const Lhs& A, const Rhs& B) in KroneckerProduct()
114 template<typename Lhs, typename Rhs>
115 class KroneckerProductSparse : public KroneckerProductBase<KroneckerProductSparse<Lhs,Rhs> >
124 KroneckerProductSparse(const Lhs& A, const Rhs& B) in KroneckerProductSparse()
132 template<typename Lhs, typename Rhs>
[all …]
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h391 template <typename Lhs,
394 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
399 template <typename Lhs, typename Rhs>
400 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
401 using type = Lhs;
404 template <typename Lhs, typename Rhs>
405 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
410 template <typename Lhs,
413 std::is_signed<Lhs>::value
415 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h390 template <typename Lhs,
393 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
398 template <typename Lhs, typename Rhs>
399 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
400 using type = Lhs;
403 template <typename Lhs, typename Rhs>
404 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
409 template <typename Lhs,
412 std::is_signed<Lhs>::value
414 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineProduct.h15 template<typename Lhs, typename Rhs, int ProductMode>
17 typedef const typename internal::nested_eval<Lhs, Rhs::RowsAtCompileTime>::type LhsNested;
18 typedef const typename internal::nested_eval<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 …]
/external/v8/src/base/
Dlogging.h95 template <typename Lhs, typename Rhs>
96 std::string* MakeCheckOpString(typename PassType<Lhs>::type lhs, in MakeCheckOpString()
121 template <typename Lhs, typename Rhs>
124 value = std::is_integral<Lhs>::value && std::is_integral<Rhs>::value &&
125 std::is_signed<Lhs>::value && std::is_unsigned<Rhs>::value
129 template <typename Lhs, typename Rhs>
130 struct is_unsigned_vs_signed : public is_signed_vs_unsigned<Rhs, Lhs> {};
138 template <typename Lhs, typename Rhs> \
139 V8_INLINE typename std::enable_if<CHECK<Lhs, Rhs>::value, bool>::type \
140 Cmp##NAME##Impl(Lhs const& lhs, Rhs const& rhs) { \
[all …]
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h55 template<typename MatrixType,typename Lhs> struct homogeneous_left_product_impl;
88 template<typename Lhs> friend
89 EIGEN_DEVICE_FUNC inline const Product<Lhs,Homogeneous>
90 operator* (const MatrixBase<Lhs>& lhs, const Homogeneous& rhs)
93 return Product<Lhs,Homogeneous>(lhs.derived(),rhs);
238 template<typename MatrixType,typename Lhs>
239 struct traits<homogeneous_left_product_impl<Homogeneous<MatrixType,Vertical>,Lhs> >
241 typedef typename take_matrix_for_product<Lhs>::type LhsMatrixType;
253 template<typename MatrixType,typename Lhs>
254 struct homogeneous_left_product_impl<Homogeneous<MatrixType,Vertical>,Lhs>
[all …]
/external/gemmlowp/internal/
Dsimd_wrappers.h130 template <typename Lhs, typename Rhs>
133 Lhs::kRows > Rhs::kRows ? Lhs::kRows : Rhs::kRows;
135 Lhs::kCols > Rhs::kCols ? Lhs::kCols : Rhs::kCols;
138 template <typename Lhs, typename Rhs>
140 using Shape = BroadcastBinaryOpShape<Lhs, Rhs>;
141 using ScalarType = typename Lhs::ScalarType;
145 template <typename Lhs, typename Rhs>
148 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type;
149 static ResultBlockType Run(const Lhs& lhs, const Rhs& rhs) {
153 static constexpr int LhsRows = Lhs::kRows;
[all …]
Dkernel_reference.h40 Format::Lhs::kCells, Format::Lhs::Cell::kWidth, in Name()
41 Format::Lhs::Cell::kDepth, in Name()
42 CellOrderName(Format::Lhs::Cell::kOrder), Format::Rhs::kCells, in Name()
61 for (int rc = 0; rc < Format::Lhs::kCells; rc++) { in Run()
63 lhs_ptr + (dc * Format::Lhs::kCells + rc) * in Run()
64 Format::Lhs::Cell::kWidth * Format::kDepth; in Run()
74 for (int ri = 0; ri < Format::Lhs::Cell::kWidth; ri++) { in Run()
78 OffsetIntoCell<typename Format::Lhs::Cell>(ri, di); in Run()
83 accumulator + (ri + rc * Format::Lhs::Cell::kWidth) + in Run()
Dkernel.h160 typedef tLhs Lhs; typedef
163 static_assert(Lhs::Cell::kDepth == Rhs::Cell::kDepth, "");
164 static const int kDepth = Lhs::Cell::kDepth;
165 static const int kRows = Lhs::Cell::kWidth * Lhs::kCells;
/external/eigen/Eigen/src/Core/products/
DTriangularMatrixVector.h173 template<int Mode, typename Lhs, typename Rhs>
174 struct triangular_product_impl<Mode,true,Lhs,false,Rhs,true>
176 …template<typename Dest> static void run(Dest& dst, const Lhs &lhs, const Rhs &rhs, const typename …
180 …internal::trmv_selector<Mode,(int(internal::traits<Lhs>::Flags)&RowMajorBit) ? RowMajor : ColMajor…
184 template<int Mode, typename Lhs, typename Rhs>
185 struct triangular_product_impl<Mode,false,Lhs,true,Rhs,false>
187 …template<typename Dest> static void run(Dest& dst, const Lhs &lhs, const Rhs &rhs, const typename …
206 template<typename Lhs, typename Rhs, typename Dest>
207 static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha)
209 typedef typename Lhs::Scalar LhsScalar;
[all …]
DGeneralMatrixMatrix.h208 template<typename Scalar, typename Index, typename Gemm, typename Lhs, typename Rhs, typename Dest,…
211 …gemm_functor(const Lhs& lhs, const Rhs& rhs, Dest& dest, const Scalar& actualAlpha, BlockingType& …
236 const Lhs& m_lhs;
405 template<typename Lhs, typename Rhs>
406 struct generic_product_impl<Lhs,Rhs,DenseShape,DenseShape,GemmProduct>
407 …: generic_product_impl_base<Lhs,Rhs,generic_product_impl<Lhs,Rhs,DenseShape,DenseShape,GemmProduct…
409 typedef typename Product<Lhs,Rhs>::Scalar Scalar;
410 typedef typename Lhs::Scalar LhsScalar;
413 typedef internal::blas_traits<Lhs> LhsBlasTraits;
422 …MaxDepthAtCompileTime = EIGEN_SIZE_MIN_PREFER_FIXED(Lhs::MaxColsAtCompileTime,Rhs::MaxRowsAtCompil…
[all …]

123