/external/eigen/Eigen/src/Core/functors/ |
D | BinaryFunctors.h | 31 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/ |
D | TriangularSolverVector.h | 17 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 …]
|
D | GeneralMatrixMatrix.h | 22 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 …]
|
D | TriangularMatrixVector.h | 17 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 …]
|
D | GeneralMatrixMatrixTriangular.h | 28 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 …]
|
D | GeneralMatrixVector.h | 58 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 …]
|
D | GeneralBlockPanelKernel.h | 92 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 …]
|
D | TriangularMatrixVector_BLAS.h | 46 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…
|
D | GeneralMatrixVector_BLAS.h | 49 template<typename Index, typename LhsScalar, int StorageOrder, bool ConjugateLhs, typename RhsScala…
|
/external/eigen/blas/ |
D | PackedTriangularSolverVector.h | 15 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 …]
|
D | PackedTriangularMatrixVector.h | 15 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 …]
|
D | BandTriangularSolver.h | 18 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/ |
D | ForwardDeclarations.h | 160 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;
|
D | BlasUtil.h | 21 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/ |
D | TensorContractionThreadPool.h | 21 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 …]
|
D | TensorContractionBlocking.h | 28 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_()
|
D | TensorContraction.h | 387 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; 488 … LhsScalar* blockA = static_cast<LhsScalar *>(this->m_device.allocate(sizeA * sizeof(LhsScalar)));
|
D | TensorContractionCuda.h | 1251 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/ |
D | GeneralProduct.h | 201 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…
|
D | SolveTriangular.h | 19 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,
|
D | CoreEvaluators.h | 60 typename LhsScalar = typename traits<typename T::Lhs>::Scalar,
|
/external/eigen/test/ |
D | linearstructure.cpp | 12 #define EIGEN_SCALAR_BINARY_OP_PLUGIN { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value…
|
D | mixingtypes.cpp | 27 #define EIGEN_SCALAR_BINARY_OP_PLUGIN { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value…
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseSelfAdjointView.h | 288 typedef typename SparseLhsType::Scalar LhsScalar; 325 LhsScalar lhs_ij = i.value();
|
D | SparseCwiseBinaryOp.h | 331 typename LhsScalar = typename traits<typename T::Lhs>::Scalar,
|