Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/functors/
DBinaryFunctors.h31 template<typename LhsScalar,typename RhsScalar>
32 struct scalar_sum_op : binary_op_base<LhsScalar,RhsScalar>
34 typedef typename ScalarBinaryOpTraits<LhsScalar,RhsScalar,scalar_sum_op>::ReturnType result_type;
42 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const LhsScalar& a, const RhsS… in operator()
50 template<typename LhsScalar,typename RhsScalar>
51 struct functor_traits<scalar_sum_op<LhsScalar,RhsScalar> > {
53 Cost = (NumTraits<LhsScalar>::AddCost+NumTraits<RhsScalar>::AddCost)/2, // rough estimate!
54 …PacketAccess = is_same<LhsScalar,RhsScalar>::value && packet_traits<LhsScalar>::HasAdd && packet_t…
75 template<typename LhsScalar,typename RhsScalar>
76 struct scalar_product_op : binary_op_base<LhsScalar,RhsScalar>
[all …]
/external/eigen/Eigen/src/Core/products/
DTriangularSolverVector.h17 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate, int Stor…
18 struct triangular_solve_vector<LhsScalar, RhsScalar, Index, OnTheRight, Mode, Conjugate, StorageOrd…
20 static void run(Index size, const LhsScalar* _lhs, Index lhsStride, RhsScalar* rhs)
22 triangular_solve_vector<LhsScalar,RhsScalar,Index,OnTheLeft,
30 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate>
31 struct triangular_solve_vector<LhsScalar, RhsScalar, Index, OnTheLeft, Mode, Conjugate, RowMajor>
36 static void run(Index size, const LhsScalar* _lhs, Index lhsStride, RhsScalar* rhs)
38 typedef Map<const Matrix<LhsScalar,Dynamic,Dynamic,RowMajor>, 0, OuterStride<> > LhsMap;
41 typedef const_blas_data_mapper<LhsScalar,Index,RowMajor> LhsMapper;
46 … const CwiseUnaryOp<typename internal::scalar_conjugate_op<LhsScalar>,LhsMap>,
[all …]
DGeneralMatrixMatrix.h22 typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
24 struct general_matrix_matrix_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStor…
26 typedef gebp_traits<RhsScalar,LhsScalar> Traits;
28 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
31 const LhsScalar* lhs, Index lhsStride,
35 level3_blocking<RhsScalar,LhsScalar>& blocking,
41 LhsScalar, LhsStorageOrder==RowMajor ? ColMajor : RowMajor, ConjugateLhs,
51 typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
53 struct general_matrix_matrix_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStor…
56 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
[all …]
DTriangularMatrixVector.h17 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
20 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
21 struct triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,ColMajor,Ver…
23 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
29 …static EIGEN_DONT_INLINE void run(Index _rows, Index _cols, const LhsScalar* _lhs, Index lhsStrid…
33 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
34 EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,Conj…
35 ::run(Index _rows, Index _cols, const LhsScalar* _lhs, Index lhsStride,
43 typedef Map<const Matrix<LhsScalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > LhsMap;
54 typedef const_blas_data_mapper<LhsScalar,Index,ColMajor> LhsMapper;
[all …]
DGeneralMatrixMatrixTriangular.h28 template<typename LhsScalar, typename RhsScalar, typename Index, int mr, int nr, bool ConjLhs, bool…
33 typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
39 template <typename Index, typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
41 struct general_matrix_matrix_triangular_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsSca…
43 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
44 static EIGEN_STRONG_INLINE void run(Index size, Index depth,const LhsScalar* lhs, Index lhsStride,
46 … const ResScalar& alpha, level3_blocking<RhsScalar,LhsScalar>& blocking)
50 LhsScalar, LhsStorageOrder==RowMajor ? ColMajor : RowMajor, ConjugateLhs,
56 template <typename Index, typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
58 struct general_matrix_matrix_triangular_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsSca…
[all …]
DGeneralMatrixVector.h58 template<typename Index, typename LhsScalar, typename LhsMapper, bool ConjugateLhs, typename RhsSca…
59 struct general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,ConjugateLhs,RhsScalar,RhsM…
61 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
64 Vectorizable = packet_traits<LhsScalar>::Vectorizable && packet_traits<RhsScalar>::Vectorizable
65 && int(packet_traits<LhsScalar>::size)==int(packet_traits<RhsScalar>::size),
66 LhsPacketSize = Vectorizable ? packet_traits<LhsScalar>::size : 1,
71 typedef typename packet_traits<LhsScalar>::type _LhsPacket;
75 typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
87 template<typename Index, typename LhsScalar, typename LhsMapper, bool ConjugateLhs, typename RhsSca…
88 EIGEN_DONT_INLINE void general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,ConjugateLh…
[all …]
DGeneralBlockPanelKernel.h92 template<typename LhsScalar, typename RhsScalar, int KcFactor, typename Index>
95 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
108 kdiv = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)),
137 const Index m_cache = (l3-l2) / (sizeof(LhsScalar) * k * num_threads);
166 k_div = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)),
209 const Index lhs_bytes = m * k * sizeof(LhsScalar);
237 Index problem_size = k*n*sizeof(LhsScalar);
253 Index mc = (numext::mini<Index>)(actual_lm/(3*k*sizeof(LhsScalar)), max_mc);
296 template<typename LhsScalar, typename RhsScalar, int KcFactor, typename Index>
300 …evaluateProductBlockingSizesHeuristic<LhsScalar, RhsScalar, KcFactor, Index>(k, m, n, num_threads);
[all …]
DTriangularMatrixVector_BLAS.h46 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
48 …triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,StorageOrder,Built…
DGeneralMatrixVector_BLAS.h49 template<typename Index, typename LhsScalar, int StorageOrder, bool ConjugateLhs, typename RhsScala…
/external/eigen/blas/
DPackedTriangularSolverVector.h15 template<typename LhsScalar, typename RhsScalar, typename Index, int Side, int Mode, bool Conjugate…
19 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate>
20 struct packed_triangular_solve_vector<LhsScalar, RhsScalar, Index, OnTheLeft, Mode, Conjugate, RowM…
25 static void run(Index size, const LhsScalar* lhs, RhsScalar* rhs)
28 typedef Map<const Matrix<LhsScalar,Dynamic,1> > LhsMap;
47 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate>
48 struct packed_triangular_solve_vector<LhsScalar, RhsScalar, Index, OnTheLeft, Mode, Conjugate, ColM…
53 static void run(Index size, const LhsScalar* lhs, RhsScalar* rhs)
56 typedef Map<const Matrix<LhsScalar,Dynamic,1> > LhsMap;
74 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate, int Stor…
[all …]
DPackedTriangularMatrixVector.h15 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
18 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
19 struct packed_triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,ColMa…
21 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
27 …static void run(Index size, const LhsScalar* lhs, const RhsScalar* rhs, ResScalar* res, ResScalar …
30 typedef Map<const Matrix<LhsScalar,Dynamic,1> > LhsMap;
47 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjR…
48 struct packed_triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMa…
50 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
56 …static void run(Index size, const LhsScalar* lhs, const RhsScalar* rhs, ResScalar* res, ResScalar …
[all …]
DBandTriangularSolver.h18 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, int Storag…
22 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar>
23 struct band_solve_triangular_selector<Index,Mode,LhsScalar,ConjLhs,RhsScalar,RowMajor>
25 typedef Map<const Matrix<LhsScalar,Dynamic,Dynamic,RowMajor>, 0, OuterStride<> > LhsMap;
28 static void run(Index size, Index k, const LhsScalar* _lhs, Index lhsStride, RhsScalar* _other)
34 … const CwiseUnaryOp<typename internal::scalar_conjugate_op<LhsScalar>,LhsMap>,
58 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar>
59 struct band_solve_triangular_selector<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ColMajor>
61 typedef Map<const Matrix<LhsScalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > LhsMap;
64 static void run(Index size, Index k, const LhsScalar* _lhs, Index lhsStride, RhsScalar* _other)
[all …]
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h160 typename LhsScalar = typename traits<typename T::Lhs>::Scalar,
176 template<typename LhsScalar, typename RhsScalar, bool ConjLhs=false, bool ConjRhs=false> struct con…
178 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_sum_op;
179 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_difference_op;
180 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_conj_product_op;
181 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_min_op;
182 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_max_op;
207 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_hypot_op;
208 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_product_op;
209 template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_quotient_op;
DBlasUtil.h21 template<typename LhsScalar, typename RhsScalar, typename Index, typename DataMapper, int mr, int n…
32 typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
38 typename LhsScalar, typename LhsMapper, int LhsStorageOrder, bool ConjugateLhs,
60 template<typename LhsScalar, typename RhsScalar, bool ConjLhs, bool ConjRhs>
63 typedef typename ScalarBinaryOpTraits<LhsScalar,RhsScalar>::ReturnType Scalar;
65 EIGEN_STRONG_INLINE Scalar pmadd(const LhsScalar& x, const RhsScalar& y, const Scalar& c) const
68 EIGEN_STRONG_INLINE Scalar pmul(const LhsScalar& x, const RhsScalar& y) const
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorContractionThreadPool.h21 template<typename LhsScalar, typename LhsMapper, typename Index>
23 LhsScalar* blockA;
31 template<typename LhsScalar, typename RhsScalar, typename RhsMapper, typename OutputMapper, typenam…
33 const MaxSizeVector<LhsScalar*>* blockAs;
105 typedef typename internal::remove_const<typename EvalLeftArgType::Scalar>::type LhsScalar;
107 typedef typename internal::gebp_traits<LhsScalar, RhsScalar> Traits;
121 LhsScalar;
125 typedef typename internal::gebp_traits<LhsScalar, RhsScalar> Traits;
129 LhsScalar, Index, internal::Lhs, LeftEvaluator, left_nocontract_t,
130 contract_t, internal::packet_traits<LhsScalar>::size,
[all …]
DTensorContractionBlocking.h28 typedef typename LhsMapper::Scalar LhsScalar; typedef
35 computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, mc_, nc_, num_threads); in kc_()
38 computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, nc_, mc_, num_threads); in kc_()
DTensorContraction.h387 typedef typename internal::remove_const<typename EvalLeftArgType::Scalar>::type LhsScalar;
395 typedef internal::TensorContractionInputMapper<LhsScalar, Index, internal::Lhs,
418 …internal::general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,false,RhsScalar,RhsMapp…
438 typedef typename internal::remove_const<typename EvalLeftArgType::Scalar>::type LhsScalar;
440 typedef typename internal::gebp_traits<LhsScalar, RhsScalar> Traits;
451 typedef internal::TensorContractionInputMapper<LhsScalar, Index, internal::Lhs,
466 …internal::gemm_pack_lhs<LhsScalar, Index, typename LhsMapper::SubMapper, mr, Traits::LhsProgress, …
469 internal::gebp_kernel<LhsScalar, RhsScalar, Index, OutputMapper, mr, nr, false, false> gebp;
488LhsScalar* blockA = static_cast<LhsScalar *>(this->m_device.allocate(sizeA * sizeof(LhsScalar)));
DTensorContractionCuda.h1251 typedef typename internal::remove_const<typename EvalLeftArgType::Scalar>::type LhsScalar;
1316 …template <typename LhsScalar, typename RhsScalar, typename Index, typename LhsMapper, typename Rhs…
1359 typedef internal::TensorContractionInputMapper<LhsScalar, Index, internal::Lhs,
1384 …LaunchKernels<LhsScalar, RhsScalar, Index, LhsMapper, RhsMapper, OutputMapper>::Run(lhs, rhs, outp…
/external/eigen/Eigen/src/Core/
DGeneralProduct.h201 typedef typename Lhs::Scalar LhsScalar;
226 ComplexByReal = (NumTraits<LhsScalar>::IsComplex) && (!NumTraits<RhsScalar>::IsComplex),
230 typedef const_blas_data_mapper<LhsScalar,Index,ColMajor> LhsMapper;
239 …<Index,LhsScalar,LhsMapper,ColMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTrai…
272 …<Index,LhsScalar,LhsMapper,ColMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTrai…
295 typedef typename Lhs::Scalar LhsScalar;
331 typedef const_blas_data_mapper<LhsScalar,Index,RowMajor> LhsMapper;
334 …<Index,LhsScalar,LhsMapper,RowMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTrai…
DSolveTriangular.h19 template<typename LhsScalar, typename RhsScalar, typename Index, int Side, int Mode, bool Conjugate…
52 typedef typename Lhs::Scalar LhsScalar;
71 …triangular_solve_vector<LhsScalar, RhsScalar, Index, Side, Mode, LhsProductTraits::NeedToConjugate,
DCoreEvaluators.h60 typename LhsScalar = typename traits<typename T::Lhs>::Scalar,
/external/eigen/test/
Dlinearstructure.cpp12 #define EIGEN_SCALAR_BINARY_OP_PLUGIN { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value…
Dmixingtypes.cpp27 #define EIGEN_SCALAR_BINARY_OP_PLUGIN { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value…
/external/eigen/Eigen/src/SparseCore/
DSparseSelfAdjointView.h288 typedef typename SparseLhsType::Scalar LhsScalar;
325 LhsScalar lhs_ij = i.value();
DSparseCwiseBinaryOp.h331 typename LhsScalar = typename traits<typename T::Lhs>::Scalar,