Searched refs:MatrixType (Results 1 - 25 of 208) sorted by last modified time

123456789

/external/skia/src/gpu/
H A DGrPrimitiveProcessor.cpp33 enum MatrixType {
/external/gemmlowp/test/
H A Dtest.h100 template <typename MatrixType>
101 void MakeRandom(MatrixType* m, int bits) {
102 typedef typename MatrixType::Scalar Scalar;
111 template <typename MatrixType>
112 void MakeConstant(MatrixType* m, typename MatrixType::Scalar val) {
120 template <typename MatrixType>
121 void MakeZero(MatrixType* m) {
/external/eigen/Eigen/src/Cholesky/
H A DLDLT.h19 template<typename MatrixType, int UpLo> struct LDLT_Traits;
53 typedef _MatrixType MatrixType; typedef in class:Eigen::LDLT
55 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
56 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
57 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
58 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
61 typedef typename MatrixType::Scalar Scalar;
62 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
64 typedef typename MatrixType::StorageIndex StorageIndex;
70 typedef internal::LDLT_Traits<MatrixType,UpL
[all...]
H A DLLT.h16 template<typename MatrixType, int UpLo> struct LLT_Traits;
55 typedef _MatrixType MatrixType; typedef in class:Eigen::LLT
57 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
58 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
59 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
61 typedef typename MatrixType::Scalar Scalar;
62 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
64 typedef typename MatrixType::StorageIndex StorageIndex;
72 typedef internal::LLT_Traits<MatrixType,UpLo> Traits;
78 * perform decompositions via LLT::compute(const MatrixType
[all...]
H A DLLT_LAPACKE.h45 template<typename MatrixType> \
46 static inline Index potrf(MatrixType& m, char uplo) \
54 StorageOrder = MatrixType::Flags&RowMajorBit?RowMajor:ColMajor; \
66 template<typename MatrixType> \
67 static Index blocked(MatrixType& m) \
71 template<typename MatrixType, typename VectorType> \
72 static Index rankUpdate(MatrixType& mat, const VectorType& vec, const typename MatrixType::RealScalar& sigma) \
77 template<typename MatrixType> \
78 static Index blocked(MatrixType
[all...]
/external/eigen/Eigen/src/CholmodSupport/
H A DCholmodSupport.h180 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodBase
182 typedef typename MatrixType::Scalar Scalar;
183 typedef typename MatrixType::RealScalar RealScalar;
184 typedef MatrixType CholMatrixType;
185 typedef typename MatrixType::StorageIndex StorageIndex;
187 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
188 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
201 explicit CholmodBase(const MatrixType& matrix)
232 Derived& compute(const MatrixType& matrix)
245 void analyzePattern(const MatrixType
441 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodSimplicialLLT
492 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodSimplicialLDLT
541 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodSupernodalLLT
592 typedef _MatrixType MatrixType; typedef in class:Eigen::CholmodDecomposition
[all...]
/external/eigen/Eigen/src/Core/
H A DArray.h250 template<typename MatrixType, typename OtherDerived, bool SwapPointers>
H A DConditionEstimator.h58 typedef typename Decomposition::MatrixType MatrixType; typedef
61 typedef typename internal::plain_col_type<MatrixType>::type Vector;
62 typedef typename internal::plain_col_type<MatrixType, RealScalar>::type RealVector;
H A DCwiseUnaryView.h16 template<typename ViewOp, typename MatrixType>
17 struct traits<CwiseUnaryView<ViewOp, MatrixType> >
18 : traits<MatrixType>
21 ViewOp(const typename traits<MatrixType>::Scalar&)
23 typedef typename MatrixType::Nested MatrixTypeNested;
26 FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
28 MatrixTypeInnerStride = inner_stride_at_compile_time<MatrixType>::ret,
33 : int(MatrixTypeInnerStride) * int(sizeof(typename traits<MatrixType>::Scalar) / sizeof(Scalar)),
34 OuterStrideAtCompileTime = outer_stride_at_compile_time<MatrixType>::ret == Dynamic
36 : outer_stride_at_compile_time<MatrixType>
[all...]
H A DDiagonal.h21 * \param MatrixType the type of the object in which we are taking a sub/main/super diagonal
36 template<typename MatrixType, int DiagIndex>
37 struct traits<Diagonal<MatrixType,DiagIndex> >
38 : traits<MatrixType>
40 typedef typename ref_selector<MatrixType>::type MatrixTypeNested;
42 typedef typename MatrixType::StorageKind StorageKind;
44 RowsAtCompileTime = (int(DiagIndex) == DynamicIndex || int(MatrixType::SizeAtCompileTime) == Dynamic) ? Dynamic
45 : (EIGEN_PLAIN_ENUM_MIN(MatrixType::RowsAtCompileTime - EIGEN_PLAIN_ENUM_MAX(-DiagIndex, 0),
46 MatrixType::ColsAtCompileTime - EIGEN_PLAIN_ENUM_MAX( DiagIndex, 0))),
48 MaxRowsAtCompileTime = int(MatrixType
[all...]
H A DProductEvaluators.h367 typedef typename internal::remove_all<typename internal::conditional<int(Side)==OnTheRight,LhsNested,RhsNested>::type>::type MatrixType; typedef in struct:Eigen::internal::generic_product_impl
375 (int(MatrixType::Flags)&RowMajorBit) ? RowMajor : ColMajor,
376 bool(internal::blas_traits<MatrixType>::HasUsableDirectAccess)
705 triangular_product_impl<Lhs::Mode,true,typename Lhs::MatrixType,false,Rhs, Rhs::ColsAtCompileTime==1>
719 triangular_product_impl<Rhs::Mode,false,Lhs,Lhs::RowsAtCompileTime==1, typename Rhs::MatrixType, false>::run(dst, lhs, rhs.nestedExpression(), alpha);
740 selfadjoint_product_impl<typename Lhs::MatrixType,Lhs::Mode,false,Rhs,0,Rhs::IsVectorAtCompileTime>::run(dst, lhs.nestedExpression(), rhs, alpha);
753 selfadjoint_product_impl<Lhs,0,Lhs::IsVectorAtCompileTime,typename Rhs::MatrixType,Rhs::Mode,false>::run(dst, lhs, rhs.nestedExpression(), alpha);
762 template<typename MatrixType, typename DiagonalType, typename Derived, int ProductOrder>
766 typedef typename ScalarBinaryOpTraits<typename MatrixType::Scalar, typename DiagonalType::Scalar>::ReturnType Scalar;
769 CoeffReadCost = NumTraits<Scalar>::MulCost + evaluator<MatrixType>
923 typedef typename nested_eval<ExpressionType, 1>::type MatrixType; typedef in struct:Eigen::internal::permutation_matrix_product
1031 typedef typename nested_eval<ExpressionType, 1>::type MatrixType; typedef in struct:Eigen::internal::transposition_matrix_product
[all...]
H A DReplicate.h16 template<typename MatrixType,int RowFactor,int ColFactor>
17 struct traits<Replicate<MatrixType,RowFactor,ColFactor> >
18 : traits<MatrixType>
20 typedef typename MatrixType::Scalar Scalar;
21 typedef typename traits<MatrixType>::StorageKind StorageKind;
22 typedef typename traits<MatrixType>::XprKind XprKind;
23 typedef typename ref_selector<MatrixType>::type MatrixTypeNested;
26 RowsAtCompileTime = RowFactor==Dynamic || int(MatrixType::RowsAtCompileTime)==Dynamic
28 : RowFactor * MatrixType::RowsAtCompileTime,
29 ColsAtCompileTime = ColFactor==Dynamic || int(MatrixType
[all...]
H A DReverse.h19 template<typename MatrixType, int Direction>
20 struct traits<Reverse<MatrixType, Direction> >
21 : traits<MatrixType>
23 typedef typename MatrixType::Scalar Scalar;
24 typedef typename traits<MatrixType>::StorageKind StorageKind;
25 typedef typename traits<MatrixType>::XprKind XprKind;
26 typedef typename ref_selector<MatrixType>::type MatrixTypeNested;
29 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
30 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
31 MaxRowsAtCompileTime = MatrixType
[all...]
H A DSelfAdjointView.h21 * \param MatrixType the type of the dense matrix storing the coefficients
32 template<typename MatrixType, unsigned int UpLo>
33 struct traits<SelfAdjointView<MatrixType, UpLo> > : traits<MatrixType>
35 typedef typename ref_selector<MatrixType>::non_const_type MatrixTypeNested;
37 typedef MatrixType ExpressionType;
38 typedef typename MatrixType::PlainObject FullMatrixType;
41 FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
54 typedef _MatrixType MatrixType; typedef in class:Eigen::SelfAdjointView
62 typedef typename MatrixType
[all...]
H A DSolveTriangular.h165 template<typename MatrixType, unsigned int Mode>
167 void TriangularViewImpl<MatrixType,Mode,Dense>::solveInPlace(const MatrixBase<OtherDerived>& _other) const
178 internal::triangular_solver_selector<MatrixType, typename internal::remove_reference<OtherCopy>::type,
H A DTranspose.h17 template<typename MatrixType>
18 struct traits<Transpose<MatrixType> > : public traits<MatrixType>
20 typedef typename ref_selector<MatrixType>::type MatrixTypeNested;
23 RowsAtCompileTime = MatrixType::ColsAtCompileTime,
24 ColsAtCompileTime = MatrixType::RowsAtCompileTime,
25 MaxRowsAtCompileTime = MatrixType::MaxColsAtCompileTime,
26 MaxColsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
27 FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
31 InnerStrideAtCompileTime = inner_stride_at_compile_time<MatrixType>
[all...]
H A DTriangularMatrix.h155 * \param MatrixType the type of the object in which we are taking the triangular part
168 template<typename MatrixType, unsigned int _Mode>
169 struct traits<TriangularView<MatrixType, _Mode> > : traits<MatrixType>
171 typedef typename ref_selector<MatrixType>::non_const_type MatrixTypeNested;
174 typedef typename MatrixType::PlainObject FullMatrixType;
175 typedef MatrixType ExpressionType;
178 FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
193 typedef _MatrixType MatrixType; typedef in class:Eigen::TriangularView
199 typedef typename internal::remove_all<typename MatrixType
342 typedef _MatrixType MatrixType; typedef in class:Eigen::TriangularViewImpl
[all...]
H A DVectorwiseOp.h21 * \tparam MatrixType the type of the matrix we are applying the redux operation
32 template< typename MatrixType, typename MemberOp, int Direction>
36 template<typename MatrixType, typename MemberOp, int Direction>
37 struct traits<PartialReduxExpr<MatrixType, MemberOp, Direction> >
38 : traits<MatrixType>
41 typedef typename traits<MatrixType>::StorageKind StorageKind;
42 typedef typename traits<MatrixType>::XprKind XprKind;
43 typedef typename MatrixType::Scalar InputScalar;
45 RowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::RowsAtCompileTime,
46 ColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType
[all...]
/external/eigen/Eigen/src/Core/products/
H A DGeneralMatrixMatrixTriangular.h195 template<typename MatrixType, typename ProductType, int UpLo, bool IsOuterProduct>
199 template<typename MatrixType, typename ProductType, int UpLo>
200 struct general_product_to_triangular_selector<MatrixType,ProductType,UpLo,true>
202 static void run(MatrixType& mat, const ProductType& prod, const typename MatrixType::Scalar& alpha, bool beta)
204 typedef typename MatrixType::Scalar Scalar;
224 StorageOrder = (internal::traits<MatrixType>::Flags&RowMajorBit) ? RowMajor : ColMajor,
247 template<typename MatrixType, typename ProductType, int UpLo>
248 struct general_product_to_triangular_selector<MatrixType,ProductType,UpLo,false>
250 static void run(MatrixType
[all...]
H A DGeneralMatrixMatrixTriangular_BLAS.h107 typedef Matrix<EIGTYPE, Dynamic, Dynamic, AStorageOrder> MatrixType; \
117 MatrixType a; \
119 Map<const MatrixType, 0, OuterStride<> > mapA(lhs,n,k,OuterStride<>(lhsStride)); \
H A DSelfadjointProduct.h47 template<typename MatrixType, typename OtherType, int UpLo, bool OtherIsVector = OtherType::IsVectorAtCompileTime>
50 template<typename MatrixType, typename OtherType, int UpLo>
51 struct selfadjoint_product_selector<MatrixType,OtherType,UpLo,true>
53 static void run(MatrixType& mat, const OtherType& other, const typename MatrixType::Scalar& alpha)
55 typedef typename MatrixType::Scalar Scalar;
64 StorageOrder = (internal::traits<MatrixType>::Flags&RowMajorBit) ? RowMajor : ColMajor,
82 template<typename MatrixType, typename OtherType, int UpLo>
83 struct selfadjoint_product_selector<MatrixType,OtherType,UpLo,false>
85 static void run(MatrixType
[all...]
H A DSelfadjointRank2Update.h58 template<typename MatrixType, unsigned int UpLo>
60 SelfAdjointView<MatrixType,UpLo>& SelfAdjointView<MatrixType,UpLo>
73 // If MatrixType is row major, then we use the routine for lower triangular in the upper triangular case and
76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 };
/external/eigen/Eigen/src/Core/util/
H A DForwardDeclarations.h87 template<typename MatrixType, int Size=Dynamic> class VectorBlock;
88 template<typename MatrixType> class Transpose;
89 template<typename MatrixType> class Conjugate;
90 template<typename NullaryOp, typename MatrixType> class CwiseNullaryOp;
91 template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp;
92 template<typename ViewOp, typename MatrixType> class CwiseUnaryView;
103 template<typename MatrixType, typename DiagonalType, int ProductOrder> class DiagonalProduct;
104 template<typename MatrixType, int Index = 0> class Diagonal;
118 template<typename MatrixType, int MapOptions=Unaligned, typename StrideType = Stride<0,0> > class Map;
124 template<typename MatrixType, unsigne
[all...]
/external/eigen/Eigen/src/Eigenvalues/
H A DComplexEigenSolver.h50 typedef _MatrixType MatrixType; typedef in class:Eigen::ComplexEigenSolver
53 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
54 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
55 Options = MatrixType::Options,
56 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
57 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
60 /** \brief Scalar type for matrices of type #MatrixType. */
61 typedef typename MatrixType::Scalar Scalar;
65 /** \brief Complex scalar type for #MatrixType.
76 * The length of the vector is the size of #MatrixType
[all...]
H A DComplexSchur.h20 template<typename MatrixType, bool IsComplex> struct complex_schur_reduce_to_hessenberg;
42 * ComplexSchur(const MatrixType&, bool) constructor which computes
54 typedef _MatrixType MatrixType; typedef in class:Eigen::ComplexSchur
56 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
57 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
58 Options = MatrixType::Options,
59 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
60 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
64 typedef typename MatrixType::Scalar Scalar;
129 * ComplexSchur(const MatrixType
[all...]

Completed in 222 milliseconds

123456789