Home
last modified time | relevance | path

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

/external/eigen/test/
Dsimplicial_cholesky.cpp14 typedef SparseMatrix<T,0,I> SparseMatrixType; in test_simplicial_cholesky_T() typedef
15 SimplicialCholesky<SparseMatrixType, Lower> chol_colmajor_lower_amd; in test_simplicial_cholesky_T()
16 SimplicialCholesky<SparseMatrixType, Upper> chol_colmajor_upper_amd; in test_simplicial_cholesky_T()
17 SimplicialLLT< SparseMatrixType, Lower> llt_colmajor_lower_amd; in test_simplicial_cholesky_T()
18 SimplicialLLT< SparseMatrixType, Upper> llt_colmajor_upper_amd; in test_simplicial_cholesky_T()
19 SimplicialLDLT< SparseMatrixType, Lower> ldlt_colmajor_lower_amd; in test_simplicial_cholesky_T()
20 SimplicialLDLT< SparseMatrixType, Upper> ldlt_colmajor_upper_amd; in test_simplicial_cholesky_T()
21 SimplicialLDLT< SparseMatrixType, Lower, NaturalOrdering<I> > ldlt_colmajor_lower_nat; in test_simplicial_cholesky_T()
22 SimplicialLDLT< SparseMatrixType, Upper, NaturalOrdering<I> > ldlt_colmajor_upper_nat; in test_simplicial_cholesky_T()
Dsparse_basic.cpp17 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref) in sparse_basic()
19 typedef typename SparseMatrixType::StorageIndex StorageIndex; in sparse_basic()
27 typedef typename SparseMatrixType::Scalar Scalar; in sparse_basic()
28 typedef typename SparseMatrixType::RealScalar RealScalar; in sparse_basic()
29 enum { Flags = SparseMatrixType::Flags }; in sparse_basic()
38 SparseMatrixType m(rows, cols); in sparse_basic()
50 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) in sparse_basic()
71 SparseMatrixType m2(rows,cols); in sparse_basic()
92 if(call_reserve && !SparseMatrixType::IsRowMajor) in sparse_basic()
105 SparseMatrixType m2(rows,cols); in sparse_basic()
[all …]
Dconjugate_gradient.cpp15 typedef SparseMatrix<T,0,I> SparseMatrixType; in test_conjugate_gradient_T() typedef
16 ConjugateGradient<SparseMatrixType, Lower > cg_colmajor_lower_diag; in test_conjugate_gradient_T()
17 ConjugateGradient<SparseMatrixType, Upper > cg_colmajor_upper_diag; in test_conjugate_gradient_T()
18 ConjugateGradient<SparseMatrixType, Lower|Upper> cg_colmajor_loup_diag; in test_conjugate_gradient_T()
19 ConjugateGradient<SparseMatrixType, Lower, IdentityPreconditioner> cg_colmajor_lower_I; in test_conjugate_gradient_T()
20 ConjugateGradient<SparseMatrixType, Upper, IdentityPreconditioner> cg_colmajor_upper_I; in test_conjugate_gradient_T()
Dincomplete_cholesky.cpp17 typedef SparseMatrix<T,0,I> SparseMatrixType; in test_incomplete_cholesky_T() typedef
18 …ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > … in test_incomplete_cholesky_T()
19 …ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, NaturalOrdering<I> > > … in test_incomplete_cholesky_T()
20 …ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, AMDOrdering<I> > > … in test_incomplete_cholesky_T()
21 …ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, NaturalOrdering<I> > > … in test_incomplete_cholesky_T()
22 …ConjugateGradient<SparseMatrixType, Upper|Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > … in test_incomplete_cholesky_T()
Dsparse_block.cpp26 template<typename SparseMatrixType> void sparse_block(const SparseMatrixType& ref) in sparse_block()
33 typedef typename SparseMatrixType::Scalar Scalar; in sparse_block()
34 typedef typename SparseMatrixType::StorageIndex StorageIndex; in sparse_block()
37 typedef Matrix<Scalar,Dynamic,Dynamic,SparseMatrixType::IsRowMajor?RowMajor:ColMajor> DenseMatrix; in sparse_block()
44 SparseMatrixType m(rows, cols); in sparse_block()
124 SparseMatrixType m2(rows, cols); in sparse_block()
158 SparseMatrixType m3(rows,cols); in sparse_block()
187 SparseMatrixType m2(rows, cols); in sparse_block()
193 if(SparseMatrixType::IsRowMajor) in sparse_block()
197 if(SparseMatrixType::IsRowMajor) in sparse_block()
[all …]
Dsparse_product.cpp30 template<typename SparseMatrixType> void sparse_product() in sparse_product()
32 typedef typename SparseMatrixType::StorageIndex StorageIndex; in sparse_product()
37 typedef typename SparseMatrixType::Scalar Scalar; in sparse_product()
38 enum { Flags = SparseMatrixType::Flags }; in sparse_product()
62 SparseMatrixType m2 (rows, depth); in sparse_product()
63 SparseMatrixType m2t(depth, rows); in sparse_product()
64 SparseMatrixType m3 (depth, cols); in sparse_product()
65 SparseMatrixType m3t(cols, depth); in sparse_product()
66 SparseMatrixType m4 (rows, cols); in sparse_product()
67 SparseMatrixType m4t(cols, rows); in sparse_product()
[all …]
Dsparse_permutations.cpp44 template<int OtherStorage, typename SparseMatrixType> void sparse_permutations(const SparseMatrixTy… in sparse_permutations()
48 typedef typename SparseMatrixType::Scalar Scalar; in sparse_permutations()
49 typedef typename SparseMatrixType::StorageIndex StorageIndex; in sparse_permutations()
58 SparseMatrixType mat(rows, cols), up(rows,cols), lo(rows,cols); in sparse_permutations()
Dsparse_vector.cpp19 typedef SparseMatrix<Scalar,0,StorageIndex> SparseMatrixType; in sparse_vector() typedef
22 SparseMatrixType m1(rows,rows); in sparse_vector()
106 SparseMatrixType mv1; in sparse_vector()
/external/eigen/unsupported/test/
Dsparse_extra.cpp50 template<typename SparseMatrixType> void sparse_extra(const SparseMatrixType& ref) in sparse_extra()
54 typedef typename SparseMatrixType::Scalar Scalar; in sparse_extra()
55 enum { Flags = SparseMatrixType::Flags }; in sparse_extra()
62 SparseMatrixType m(rows, cols); in sparse_extra()
77 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) in sparse_extra()
103 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords)… in sparse_extra()
105 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonze… in sparse_extra()
108 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleDenseHashMapTraits> >(m,refMat,no… in sparse_extra()
111 …VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleSparseHashMapTraits> >(m,refMat,n… in sparse_extra()
/external/eigen/Eigen/src/SparseCore/
DSparseBlock.h95 template<typename SparseMatrixType, int BlockRows, int BlockCols>
97 : public SparseCompressedBase<Block<SparseMatrixType,BlockRows,BlockCols,true> >
99 … typedef typename internal::remove_all<typename SparseMatrixType::Nested>::type _MatrixTypeNested;
100 typedef Block<SparseMatrixType, BlockRows, BlockCols, true> BlockType;
101 typedef SparseCompressedBase<Block<SparseMatrixType,BlockRows,BlockCols,true> > Base;
111 inline sparse_matrix_block_impl(SparseMatrixType& xpr, Index i) in sparse_matrix_block_impl()
115 …inline sparse_matrix_block_impl(SparseMatrixType& xpr, Index startRow, Index startCol, Index block… in sparse_matrix_block_impl()
122 … typedef typename internal::remove_all<typename SparseMatrixType::Nested>::type _NestedMatrixType;
148 … typename SparseMatrixType::Storage newdata(m_matrix.data().allocatedSize() - block_size + nnz);
269 inline const SparseMatrixType& nestedExpression() const { return m_matrix; } in nestedExpression()
[all …]
DSparseMatrix.h919 template<typename InputIterator, typename SparseMatrixType, typename DupFunctor>
920 void set_from_triplets(const InputIterator& begin, const InputIterator& end, SparseMatrixType& mat,…
922 enum { IsRowMajor = SparseMatrixType::IsRowMajor };
923 typedef typename SparseMatrixType::Scalar Scalar;
924 typedef typename SparseMatrixType::StorageIndex StorageIndex;
930 typename SparseMatrixType::IndexVector wi(trMat.outerSize());
1394 typedef SparseMatrix<_Scalar,_Options,_StorageIndex> SparseMatrixType;
1396 explicit evaluator(const SparseMatrixType &mat) : Base(mat) {}
DSparseMap.h225 template<typename SparseMatrixType>
226 class Map<SparseMatrixType>
DSparseRef.h126 template<typename SparseMatrixType, int Options>
127 class Ref<SparseMatrixType, Options>
/external/eigen/unsupported/Eigen/src/SparseExtra/
DMarketIO.h132 template<typename SparseMatrixType>
133 bool loadMarket(SparseMatrixType& mat, const std::string& filename) in loadMarket()
135 typedef typename SparseMatrixType::Scalar Scalar; in loadMarket()
136 typedef typename SparseMatrixType::Index Index; in loadMarket()
224 template<typename SparseMatrixType>
225 bool saveMarket(const SparseMatrixType& mat, const std::string& filename, int sym = 0)
227 typedef typename SparseMatrixType::Scalar Scalar;
240 for(typename SparseMatrixType::InnerIterator it(mat,j); it; ++it)
DRandomSetter.h144 template<typename SparseMatrixType,
156 typedef typename SparseMatrixType::Scalar Scalar;
157 typedef typename SparseMatrixType::StorageIndex StorageIndex;
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;
DDynamicSparseMatrix.h366 typedef DynamicSparseMatrix<_Scalar,_Options,_StorageIndex> SparseMatrixType;
367 typedef typename SparseMatrixType::InnerIterator InnerIterator;
368 typedef typename SparseMatrixType::ReverseInnerIterator ReverseInnerIterator;
372 Flags = SparseMatrixType::Flags
376 evaluator(const SparseMatrixType &mat) : m_matrix(&mat) {}
378 operator SparseMatrixType&() { return m_matrix->const_cast_derived(); }
379 operator const SparseMatrixType&() const { return *m_matrix; }
385 const SparseMatrixType *m_matrix;
/external/eigen/doc/
DTemplateKeyword.dox99 SparseMatrixType mat(rows,cols);
101 for (SparseMatrixType::InnerIterator it(mat,k); it; ++it)
107 If \c SparseMatrixType depends on a template parameter, then the \c typename keyword is required:
DSparseQuickReference.dox268 <td>As for dense matrices, class Map<SparseMatrixType> can be used to see external buffers as an %E…
DTutorialSparse.dox206 SparseMatrixType mat(rows,cols);
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h114 typedef SparseMatrix<Scalar,RowMajor,StorageIndex> SparseMatrixType;
247 mutable SparseMatrixType m_matrix;