Home
last modified time | relevance | path

Searched refs:SparseMatrixType (Results 1 – 15 of 15) sorted by relevance

/external/eigen/test/
Dsparse_product.cpp12 template<typename SparseMatrixType, typename DenseMatrix, bool IsRowMajor=SparseMatrixType::IsRowMa…
14 template<typename SparseMatrixType, typename DenseMatrix> struct test_outer<SparseMatrixType,DenseM…
15 …static void run(SparseMatrixType& m2, SparseMatrixType& m4, DenseMatrix& refMat2, DenseMatrix& ref… in run()
16 typedef typename SparseMatrixType::Index Index; in run()
24 template<typename SparseMatrixType, typename DenseMatrix> struct test_outer<SparseMatrixType,DenseM…
25 …static void run(SparseMatrixType& m2, SparseMatrixType& m4, DenseMatrix& refMat2, DenseMatrix& ref… in run()
26 typedef typename SparseMatrixType::Index Index; in run()
38 template<typename SparseMatrixType> void sparse_product() in sparse_product()
40 typedef typename SparseMatrixType::Index Index; in sparse_product()
45 typedef typename SparseMatrixType::Scalar Scalar; in sparse_product()
[all …]
Dsparse_basic.cpp14 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref) in sparse_basic()
16 typedef typename SparseMatrixType::Index Index; in sparse_basic()
21 typedef typename SparseMatrixType::Scalar Scalar; in sparse_basic()
22 enum { Flags = SparseMatrixType::Flags }; in sparse_basic()
31 SparseMatrixType m(rows, cols); in sparse_basic()
46 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) in sparse_basic()
105 SparseMatrixType m2(rows,cols); in sparse_basic()
125 SparseMatrixType m2(rows,cols); in sparse_basic()
149 SparseMatrixType m2(rows,cols); in sparse_basic()
169 SparseMatrixType m2(rows, rows); in sparse_basic()
[all …]
Dsparse_permutations.cpp12 template<int OtherStorage, typename SparseMatrixType> void sparse_permutations(const SparseMatrixTy… in sparse_permutations()
14 typedef typename SparseMatrixType::Index Index; in sparse_permutations()
18 typedef typename SparseMatrixType::Scalar Scalar; in sparse_permutations()
19 typedef typename SparseMatrixType::Index Index; in sparse_permutations()
26 SparseMatrixType mat(rows, cols), up(rows,cols), lo(rows,cols); in sparse_permutations()
Dsparse_vector.cpp19 typedef SparseMatrix<Scalar,0,Index> SparseMatrixType; in sparse_vector() typedef
22 SparseMatrixType m1(rows,rows); in sparse_vector()
89 SparseMatrixType mv1; in sparse_vector()
/external/eigen/test/eigen2/
Deigen2_sparse_basic.cpp46 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref) in sparse_basic()
50 typedef typename SparseMatrixType::Scalar Scalar; in sparse_basic()
51 enum { Flags = SparseMatrixType::Flags }; in sparse_basic()
58 SparseMatrixType m(rows, cols); in sparse_basic()
74 if(ei_is_same_type<SparseMatrixType,SparseMatrix<Scalar,Flags> >::ret) in sparse_basic()
154 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords)… in sparse_basic()
156 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonze… in sparse_basic()
159 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleDenseHashMapTraits> >(m,refMat,no… in sparse_basic()
162 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleSparseHashMapTraits> >(m,refMat,n… in sparse_basic()
169 SparseMatrixType m2(rows,cols); in sparse_basic()
[all …]
Deigen2_sparse_product.cpp12 template<typename SparseMatrixType> void sparse_product(const SparseMatrixType& ref) in sparse_product()
16 typedef typename SparseMatrixType::Scalar Scalar; in sparse_product()
17 enum { Flags = SparseMatrixType::Flags }; in sparse_product()
29 SparseMatrixType m2(rows, rows); in sparse_product()
30 SparseMatrixType m3(rows, rows); in sparse_product()
31 SparseMatrixType m4(rows, rows); in sparse_product()
61 SparseMatrixType m2(rows, rows); in sparse_product()
62 SparseMatrixType m3(rows, rows); in sparse_product()
79 SparseMatrixType mUp(rows, rows); in sparse_product()
80 SparseMatrixType mLo(rows, rows); in sparse_product()
[all …]
Deigen2_sparse_vector.cpp19 typedef SparseMatrix<Scalar> SparseMatrixType; in sparse_vector() typedef
22 SparseMatrixType m1(rows,cols); in sparse_vector()
/external/eigen/unsupported/test/
Dsparse_extra.cpp50 template<typename SparseMatrixType> void sparse_extra(const SparseMatrixType& ref) in sparse_extra()
52 typedef typename SparseMatrixType::Index Index; in sparse_extra()
55 typedef typename SparseMatrixType::Scalar Scalar; in sparse_extra()
56 enum { Flags = SparseMatrixType::Flags }; in sparse_extra()
63 SparseMatrixType m(rows, cols); in sparse_extra()
78 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) in sparse_extra()
104 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords)… in sparse_extra()
106 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonze… in sparse_extra()
109 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleDenseHashMapTraits> >(m,refMat,no… in sparse_extra()
112 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleSparseHashMapTraits> >(m,refMat,n… in sparse_extra()
/external/eigen/Eigen/src/SparseCore/
DSparseBlock.h84 typedef SparseMatrix<_Scalar, _Options, _Index> SparseMatrixType; typedef
85 … typedef typename internal::remove_all<typename SparseMatrixType::Nested>::type _MatrixTypeNested;
86 typedef Block<SparseMatrixType, BlockRows, BlockCols, true> BlockType;
87 typedef Block<const SparseMatrixType, BlockRows, BlockCols, true> ConstBlockType;
95 class InnerIterator: public SparseMatrixType::InnerIterator
99 : SparseMatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in InnerIterator()
106 class ReverseInnerIterator: public SparseMatrixType::ReverseInnerIterator
110 … : SparseMatrixType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in ReverseInnerIterator()
118 inline BlockImpl(const SparseMatrixType& xpr, int i) in BlockImpl()
122 …inline BlockImpl(const SparseMatrixType& xpr, int startRow, int startCol, int blockRows, int block… in BlockImpl()
[all …]
DSparseMatrix.h936 template<typename InputIterator, typename SparseMatrixType>
937 void set_from_triplets(const InputIterator& begin, const InputIterator& end, SparseMatrixType& mat,…
940 enum { IsRowMajor = SparseMatrixType::IsRowMajor };
941 typedef typename SparseMatrixType::Scalar Scalar;
942 typedef typename SparseMatrixType::Index Index;
/external/eigen/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h144 template<typename SparseMatrixType,
156 typedef typename SparseMatrixType::Scalar Scalar;
157 typedef typename SparseMatrixType::Index Index;
169 TargetRowMajor = (SparseMatrixType::Flags & RowMajorBit) ? 1 : 0,
181 inline RandomSetter(SparseMatrixType& target) in RandomSetter()
204 for (typename SparseMatrixType::InnerIterator it(*mp_target,j); it; ++it) in RandomSetter()
320 SparseMatrixType* mp_target;
DMarketIO.h132 template<typename SparseMatrixType>
133 bool loadMarket(SparseMatrixType& mat, const std::string& filename) in loadMarket()
135 typedef typename SparseMatrixType::Scalar Scalar; in loadMarket()
223 template<typename SparseMatrixType>
224 bool saveMarket(const SparseMatrixType& mat, const std::string& filename, int sym = 0)
226 typedef typename SparseMatrixType::Scalar Scalar;
239 for(typename SparseMatrixType::InnerIterator it(mat,j); it; ++it)
/external/eigen/doc/
DTemplateKeyword.dox98 SparseMatrixType mat(rows,cols);
100 for (SparseMatrixType::InnerIterator it(mat,k); it; ++it)
106 If \c SparseMatrixType depends on a template parameter, then the \c typename keyword is required:
DTutorialSparse.dox206 SparseMatrixType mat(rows,cols);
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h107 typedef SparseMatrix<Scalar,RowMajor,Index> SparseMatrixType;
271 mutable SparseMatrixType m_matrix;