Home
last modified time | relevance | path

Searched refs:Rhs (Results 1 – 25 of 136) sorted by relevance

123456

/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>
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 …]
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> >
23 typedef typename remove_all<Rhs>::type RhsCleaned;
32 … internal::product_type<Lhs,Rhs>::ret>::ret StorageKind;
79 typedef _Rhs Rhs;
82 Lhs, Rhs, Option,
84 typename internal::traits<Rhs>::StorageKind,
85 … internal::product_type<Lhs,Rhs>::ret>::ret>::Base Base;
89 typedef typename internal::ref_selector<Rhs>::type RhsNested;
[all …]
DCwiseBinaryOp.h17 template<typename BinaryOp, typename Lhs, typename Rhs>
18 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
36 const typename Rhs::Scalar&
40 typename traits<Rhs>::StorageKind,
43 typename traits<Rhs>::StorageIndex>::type StorageIndex;
45 typedef typename Rhs::Nested RhsNested;
49 …Flags = cwise_promote_storage_order<typename traits<Lhs>::StorageKind,typename traits<Rhs>::Storag…
54 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
89 typedef typename internal::remove_all<RhsType>::type Rhs;
94 typename internal::traits<Rhs>::StorageKind,
[all …]
/external/eigen/Eigen/src/SparseCore/
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…
34 evaluator<Rhs> rhsEval(rhs);
52 for (typename evaluator<Rhs>::InnerIterator rhsIt(rhsEval, j); rhsIt; ++rhsIt)
125 template<typename Lhs, typename Rhs, typename ResultType,
127 int RhsStorageOrder = (traits<Rhs>::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>
137 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res)
150 … internal::conservative_sparse_sparse_product_impl<Lhs,Rhs,ColMajorMatrix>(lhs, rhs, resCol, true);
[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)
48 …static void addTo(Dest& dst, const ActualLhs& lhs, const Rhs& rhs, typename enable_if<is_same<type…
51 typedef typename nested_eval<Rhs,Dynamic>::type RhsNested;
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)
72 typedef typename nested_eval<Rhs,Dynamic>::type RhsNested;
81 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, DenseShape)
89 template<typename Lhs, typename Rhs, int ProductType>
[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()
43 evaluator<Rhs> rhsEval(rhs); in sparse_sparse_product_with_pruning_impl()
62 for (typename evaluator<Rhs>::InnerIterator rhsIt(rhsEval, j); rhsIt; ++rhsIt) in sparse_sparse_product_with_pruning_impl()
79 template<typename Lhs, typename Rhs, typename ResultType,
81 int RhsStorageOrder = traits<Rhs>::Flags&RowMajorBit,
85 template<typename Lhs, typename Rhs, typename ResultType>
86 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
91 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
94 … internal::sparse_sparse_product_with_pruning_impl<Lhs,Rhs,ResultType>(lhs, rhs, _res, tolerance);
[all …]
DSparseDenseProduct.h30 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
89 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
100 …typename ScalarBinaryOpTraits<AlphaType, typename Rhs::Scalar>::ReturnType rhs_j(alpha * rhs.coeff…
112 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
131 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
139 typename Rhs::ConstRowXpr rhs_j(rhs.row(j));
156 template<typename Lhs, typename Rhs, int ProductType>
157 struct generic_product_impl<Lhs, Rhs, SparseShape, DenseShape, ProductType>
158 …: generic_product_impl_base<Lhs,Rhs,generic_product_impl<Lhs,Rhs,SparseShape,DenseShape,ProductTyp…
160 typedef typename Product<Lhs,Rhs>::Scalar Scalar;
[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;
47 typename internal::traits<Rhs>::StorageKind>::value) 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> >
65 typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
[all …]
DSparseSolverBase.h21 template<typename Decomposition, typename Rhs, typename Dest>
22 typename enable_if<Rhs::ColsAtCompileTime!=1 && Dest::ColsAtCompileTime!=1>::type
23 solve_sparse_through_dense_panels(const Decomposition &dec, const Rhs& rhs, Dest &dest) in solve_sparse_through_dense_panels()
45 template<typename Decomposition, typename Rhs, typename Dest>
46 typename enable_if<Rhs::ColsAtCompileTime==1 || Dest::ColsAtCompileTime==1>::type
47 solve_sparse_through_dense_panels(const Decomposition &dec, const Rhs& rhs, Dest &dest) in solve_sparse_through_dense_panels()
86 template<typename Rhs>
87 inline const Solve<Derived, Rhs>
88 solve(const MatrixBase<Rhs>& b) const in solve()
92 return Solve<Derived, Rhs>(derived(), b.derived()); in solve()
[all …]
DTriangularSolver.h17 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;
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>
67 typedef typename Rhs::Scalar Scalar;
70 static void run(const Lhs& lhs, Rhs& other)
103 template<typename Lhs, typename Rhs, int Mode>
[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;
42 …enum { CoeffReadCost = HugeCost, Flags = Rhs::Flags&RowMajorBit, Alignment = 0 }; // FIXME CoeffRe…
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;
[all …]
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h592 template <typename D, typename Rhs, typename Op>
595 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
607 template <typename Lhs, typename = Rhs>
610 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
625 Rhs rhs_;
627 Rhs rhs_;
630 template <typename Rhs>
631 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
633 explicit EqMatcher(const Rhs& rhs) in EqMatcher()
634 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { } in EqMatcher()
[all …]
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h33 typedef typename Traits::Rhs Rhs; typedef
37 KroneckerProductBase(const Lhs& A, const Rhs& B) in KroneckerProductBase()
66 typename Rhs::Nested m_B;
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.h392 typename Rhs,
394 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
399 template <typename Lhs, typename Rhs>
400 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
404 template <typename Lhs, typename Rhs>
405 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
406 using type = Rhs;
411 typename Rhs,
414 ? (std::is_signed<Rhs>::value
415 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h56 template<typename MatrixType,typename Rhs> struct homogeneous_right_product_impl;
80 template<typename Rhs>
81 EIGEN_DEVICE_FUNC inline const Product<Homogeneous,Rhs>
82 operator* (const MatrixBase<Rhs>& rhs) const
85 return Product<Homogeneous,Rhs>(*this,rhs.derived());
283 template<typename MatrixType,typename Rhs>
284 struct traits<homogeneous_right_product_impl<Homogeneous<MatrixType,Horizontal>,Rhs> >
288 Rhs::ColsAtCompileTime,
291 Rhs::MaxColsAtCompileTime>::type ReturnType;
294 template<typename MatrixType,typename Rhs>
[all …]
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h448 typename Rhs,
450 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
455 template <typename Lhs, typename Rhs>
456 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
460 template <typename Lhs, typename Rhs>
461 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
462 using type = Rhs;
467 typename Rhs,
470 ? (std::is_signed<Rhs>::value
471 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/external/dtc/
Dsrcpos.h81 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
84 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
85 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
86 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
87 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
88 (Current).file = YYRHSLOC(Rhs, N).file; \
91 YYRHSLOC(Rhs, 0).last_line; \
93 YYRHSLOC(Rhs, 0).last_column; \
94 (Current).file = YYRHSLOC (Rhs, 0).file; \
/external/u-boot/scripts/dtc/
Dsrcpos.h81 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
84 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
85 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
86 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
87 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
88 (Current).file = YYRHSLOC(Rhs, N).file; \
91 YYRHSLOC(Rhs, 0).last_line; \
93 YYRHSLOC(Rhs, 0).last_column; \
94 (Current).file = YYRHSLOC (Rhs, 0).file; \
/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>;
145 template <typename Lhs, typename Rhs>
148 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type;
149 static ResultBlockType Run(const Lhs& lhs, const Rhs& rhs) {
155 static constexpr int RhsRows = Rhs::kRows;
156 static constexpr int RhsCols = Rhs::kCols;
[all …]
Dkernel_reference.h42 CellOrderName(Format::Lhs::Cell::kOrder), Format::Rhs::kCells, in Name()
43 Format::Rhs::Cell::kDepth, Format::Rhs::Cell::kWidth, in Name()
44 CellOrderName(Format::Rhs::Cell::kOrder)); in Name()
65 for (int cc = 0; cc < Format::Rhs::kCells; cc++) { in Run()
67 rhs_ptr + (dc * Format::Rhs::kCells + cc) * in Run()
68 Format::Rhs::Cell::kWidth * Format::kDepth; in Run()
75 for (int ci = 0; ci < Format::Rhs::Cell::kWidth; ci++) { in Run()
81 OffsetIntoCell<typename Format::Rhs::Cell>(ci, di); in Run()
84 (ci + cc * Format::Rhs::Cell::kWidth) * Format::kRows; in Run()
/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…
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/doc/examples/
Dmatrixfree_cg.cpp36 template<typename Rhs>
37 …Eigen::Product<MatrixReplacement,Rhs,Eigen::AliasFreeProduct> operator*(const Eigen::MatrixBase<Rh… in operator *()
38 return Eigen::Product<MatrixReplacement,Rhs,Eigen::AliasFreeProduct>(*this, x.derived()); in operator *()
58 template<typename Rhs>
59 …struct generic_product_impl<MatrixReplacement, Rhs, SparseShape, DenseShape, GemvProduct> // GEMV …
60 : generic_product_impl_base<MatrixReplacement,Rhs,generic_product_impl<MatrixReplacement,Rhs> >
62 typedef typename Product<MatrixReplacement,Rhs>::Scalar Scalar;
65 …static void scaleAndAddTo(Dest& dst, const MatrixReplacement& lhs, const Rhs& rhs, const Scalar& a… in scaleAndAddTo()
/external/v8/src/base/
Dlogging.h170 template <typename Lhs, typename Rhs> in DEFINE_PRINT_CHECK_OPERAND_CHAR()
171 std::string* MakeCheckOpString(Lhs lhs, Rhs rhs, char const* msg) { in DEFINE_PRINT_CHECK_OPERAND_CHAR()
176 PrintCheckOperand<Rhs>(ss, rhs); in DEFINE_PRINT_CHECK_OPERAND_CHAR()
222 template <typename Lhs, typename Rhs>
225 using rhs_underlying = typename comparison_underlying_type<Rhs>::type;
232 template <typename Lhs, typename Rhs>
233 struct is_unsigned_vs_signed : public is_signed_vs_unsigned<Rhs, Lhs> {};
242 template <typename Lhs, typename Rhs> \
243 V8_INLINE typename std::enable_if<CHECK<Lhs, Rhs>::value, bool>::type \
244 Cmp##NAME##Impl(Lhs lhs, Rhs rhs) { \
[all …]
/external/eigen/Eigen/src/IterativeLinearSolvers/
DBasicPreconditioners.h88 template<typename Rhs, typename Dest>
89 void _solve_impl(const Rhs& b, Dest& x) const in _solve_impl()
94 template<typename Rhs> inline const Solve<DiagonalPreconditioner, Rhs>
95 solve(const MatrixBase<Rhs>& b) const in solve()
100 return Solve<DiagonalPreconditioner, Rhs>(*this, b.derived()); in solve()
218 template<typename Rhs>
219 inline const Rhs& solve(const Rhs& b) const { return b; } in solve()

123456