/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 …N_STRONG_INLINE const result_type operator() (const LhsScalar& a, const RhsScalar& b) const { retu… 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 | 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; 30 … const RhsScalar* _rhs, Index rhsIncr, ResScalar* _res, Index resIncr, const RhsScalar& alpha); 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… 36 … const RhsScalar* _rhs, Index rhsIncr, ResScalar* _res, Index resIncr, const RhsScalar& alpha) 47 typedef Map<const Matrix<RhsScalar,Dynamic,1>, 0, InnerStride<> > RhsMap; 55 typedef const_blas_data_mapper<RhsScalar,Index,RowMajor> RhsMapper; [all …]
|
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) 42 typedef const_blas_data_mapper<RhsScalar,Index,ColMajor> RhsMapper; 65 …general_matrix_vector_product<Index,LhsScalar,LhsMapper,RowMajor,Conjugate,RhsScalar,RhsMapper,fal… 70 RhsScalar(-1)); [all …]
|
D | GeneralMatrixMatrix.h | 23 typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs> 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; 32 const RhsScalar* rhs, Index rhsStride, 35 level3_blocking<RhsScalar,LhsScalar>& blocking, 40 RhsScalar, RhsStorageOrder==RowMajor ? ColMajor : RowMajor, ConjugateRhs, 52 typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs> 53 struct general_matrix_matrix_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStor… 56 typedef gebp_traits<LhsScalar,RhsScalar> Traits; [all …]
|
D | GeneralMatrixMatrixTriangular.h | 28 template<typename LhsScalar, typename RhsScalar, typename Index, int mr, int nr, bool ConjLhs, bool… 34 typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs, 40 … typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs, int UpLo, int Version> 41 …_matrix_triangular_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStorageOrder,… 43 typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar; 45 … const RhsScalar* rhs, Index rhsStride, ResScalar* res, Index resStride, 46 … const ResScalar& alpha, level3_blocking<RhsScalar,LhsScalar>& blocking) 49 RhsScalar, RhsStorageOrder==RowMajor ? ColMajor : RowMajor, ConjugateRhs, 57 … typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs, int UpLo, int Version> 58 …_matrix_triangular_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStorageOrder,… [all …]
|
D | GeneralMatrixVector.h | 58 …ex, typename LhsScalar, typename LhsMapper, bool ConjugateLhs, typename RhsScalar, typename RhsMap… 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), 67 RhsPacketSize = Vectorizable ? packet_traits<RhsScalar>::size : 1, 72 typedef typename packet_traits<RhsScalar>::type _RhsPacket; 76 typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket; 84 RhsScalar alpha); 87 …ex, typename LhsScalar, typename LhsMapper, bool ConjugateLhs, typename RhsScalar, typename RhsMap… [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)), 124 const Index n_cache = (l2-l1) / (nr * sizeof(RhsScalar) * k); 166 k_div = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)), 211 if(remaining_l1 >= Index(Traits::nr*sizeof(RhsScalar))*k) 214 max_nc = remaining_l1 / (k*sizeof(RhsScalar)); 219 max_nc = (3*actual_l2)/(2*2*max_kc*sizeof(RhsScalar)); 222 Index nc = numext::mini<Index>(actual_l2/(2*k*sizeof(RhsScalar)), max_nc) & (~(Traits::nr-1)); 296 template<typename LhsScalar, typename RhsScalar, int KcFactor, typename Index> [all …]
|
D | SelfadjointMatrixVector.h | 181 typedef typename Rhs::Scalar RhsScalar; 198 …internal::gemv_static_vector_if<RhsScalar,ActualRhsTypeCleaned::SizeAtCompileTime,ActualRhsTypeCle… 203 ei_declare_aligned_stack_constructed_variable(RhsScalar,actualRhsPtr,rhs.size(), 204 UseRhs ? const_cast<RhsScalar*>(rhs.data()) : static_rhs.data());
|
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 …ndex, typename LhsScalar, int StorageOrder, bool ConjugateLhs, typename RhsScalar, bool ConjugateR…
|
/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) 38 .cwiseProduct(Map<const Matrix<RhsScalar,Dynamic,1> >(rhs+(IsLower ? 0 : i+1),pi))).sum(); 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) 67 Map<Matrix<RhsScalar,Dynamic,1> >(rhs+(IsLower? i+1 : 0),r) -= 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 … 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 … 61 typedef Map<const Matrix<RhsScalar,Dynamic,1> > RhsMap;
|
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> 26 typedef Map<Matrix<RhsScalar,Dynamic,1> > RhsMap; 28 static void run(Index size, Index k, const LhsScalar* _lhs, Index lhsStride, RhsScalar* _other) 58 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar> 59 struct band_solve_triangular_selector<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ColMajor> 62 typedef Map<Matrix<RhsScalar,Dynamic,1> > RhsMap; 64 static void run(Index size, Index k, const LhsScalar* _lhs, Index lhsStride, RhsScalar* _other)
|
/external/eigen/Eigen/src/Core/ |
D | GeneralProduct.h | 202 typedef typename Rhs::Scalar RhsScalar; 226 ComplexByReal = (NumTraits<LhsScalar>::IsComplex) && (!NumTraits<RhsScalar>::IsComplex), 231 typedef const_blas_data_mapper<RhsScalar,Index,RowMajor> RhsMapper; 232 RhsScalar compatibleAlpha = get_factor<ResScalar,RhsScalar>::run(actualAlpha); 239 …<Index,LhsScalar,LhsMapper,ColMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTrai… 265 compatibleAlpha = RhsScalar(1); 272 …<Index,LhsScalar,LhsMapper,ColMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTrai… 296 typedef typename Rhs::Scalar RhsScalar; 317 …gemv_static_vector_if<RhsScalar,ActualRhsTypeCleaned::SizeAtCompileTime,ActualRhsTypeCleaned::MaxS… 319 ei_declare_aligned_stack_constructed_variable(RhsScalar,actualRhsPtr,actualRhs.size(), [all …]
|
D | SolveTriangular.h | 19 template<typename LhsScalar, typename RhsScalar, typename Index, int Side, int Mode, bool Conjugate… 53 typedef typename Rhs::Scalar RhsScalar; 56 typedef Map<Matrix<RhsScalar,Dynamic,1>, Aligned> MappedRhs; 65 ei_declare_aligned_stack_constructed_variable(RhsScalar,actualRhs,rhs.size(), 71 …triangular_solve_vector<LhsScalar, RhsScalar, Index, Side, Mode, LhsProductTraits::NeedToConjugate,
|
D | CoreEvaluators.h | 61 typename RhsScalar = typename traits<typename T::Rhs>::Scalar> struct binary_evaluator;
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorContractionThreadPool.h | 31 template<typename LhsScalar, typename RhsScalar, typename RhsMapper, typename OutputMapper, typenam… 34 RhsScalar* blockB; 106 typedef typename internal::remove_const<typename EvalRightArgType::Scalar>::type RhsScalar; 107 typedef typename internal::gebp_traits<LhsScalar, RhsScalar> Traits; 124 RhsScalar; 125 typedef typename internal::gebp_traits<LhsScalar, RhsScalar> Traits; 134 RhsScalar, Index, internal::Rhs, RightEvaluator, right_nocontract_t, 135 contract_t, internal::packet_traits<RhsScalar>::size, 144 RhsScalar, Index, typename RhsMapper::SubMapper, Traits::nr, ColMajor> 146 typedef internal::gebp_kernel<LhsScalar, RhsScalar, Index, OutputMapper, [all …]
|
D | TensorContractionBlocking.h | 29 typedef typename RhsMapper::Scalar RhsScalar; 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 | 388 typedef typename internal::remove_const<typename EvalRightArgType::Scalar>::type RhsScalar; 401 typedef internal::TensorContractionInputMapper<RhsScalar, Index, internal::Rhs, 418 …internal::general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,false,RhsScalar,RhsMapp… 439 typedef typename internal::remove_const<typename EvalRightArgType::Scalar>::type RhsScalar; 440 typedef typename internal::gebp_traits<LhsScalar, RhsScalar> Traits; 457 typedef internal::TensorContractionInputMapper<RhsScalar, Index, internal::Rhs, 467 internal::gemm_pack_rhs<RhsScalar, Index, typename RhsMapper::SubMapper, nr, ColMajor> pack_rhs; 469 internal::gebp_kernel<LhsScalar, RhsScalar, Index, OutputMapper, mr, nr, false, false> gebp; 489 … RhsScalar* blockB = static_cast<RhsScalar *>(this->m_device.allocate(sizeB * sizeof(RhsScalar)));
|
D | TensorContractionCuda.h | 1252 typedef typename internal::remove_const<typename EvalRightArgType::Scalar>::type RhsScalar; 1316 …template <typename LhsScalar, typename RhsScalar, typename Index, typename LhsMapper, typename Rhs… 1365 typedef internal::TensorContractionInputMapper<RhsScalar, Index, internal::Rhs, 1384 …LaunchKernels<LhsScalar, RhsScalar, Index, LhsMapper, RhsMapper, OutputMapper>::Run(lhs, rhs, outp…
|
/external/eigen/Eigen/src/Core/util/ |
D | ForwardDeclarations.h | 161 typename RhsScalar = typename traits<typename T::Rhs>::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… 33 typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs, 39 typename RhsScalar, typename RhsMapper, bool ConjugateRhs, int Version=Specialized> 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/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 | SparseCwiseBinaryOp.h | 332 …typename RhsScalar = typename traits<typename T::Rhs>::Scalar> struct sparse_conjunction_evaluator;
|