/external/eigen/test/ |
H A D | simplicial_cholesky.cpp | 14 typedef SparseMatrix<T,0,I> SparseMatrixType; typedef 15 SimplicialCholesky<SparseMatrixType, Lower> chol_colmajor_lower_amd; 16 SimplicialCholesky<SparseMatrixType, Upper> chol_colmajor_upper_amd; 17 SimplicialLLT< SparseMatrixType, Lower> llt_colmajor_lower_amd; 18 SimplicialLLT< SparseMatrixType, Upper> llt_colmajor_upper_amd; 19 SimplicialLDLT< SparseMatrixType, Lower> ldlt_colmajor_lower_amd; 20 SimplicialLDLT< SparseMatrixType, Upper> ldlt_colmajor_upper_amd; 21 SimplicialLDLT< SparseMatrixType, Lower, NaturalOrdering<I> > ldlt_colmajor_lower_nat; 22 SimplicialLDLT< SparseMatrixType, Upper, NaturalOrdering<I> > ldlt_colmajor_upper_nat;
|
H A D | conjugate_gradient.cpp | 15 typedef SparseMatrix<T,0,I> SparseMatrixType; typedef 16 ConjugateGradient<SparseMatrixType, Lower > cg_colmajor_lower_diag; 17 ConjugateGradient<SparseMatrixType, Upper > cg_colmajor_upper_diag; 18 ConjugateGradient<SparseMatrixType, Lower|Upper> cg_colmajor_loup_diag; 19 ConjugateGradient<SparseMatrixType, Lower, IdentityPreconditioner> cg_colmajor_lower_I; 20 ConjugateGradient<SparseMatrixType, Upper, IdentityPreconditioner> cg_colmajor_upper_I;
|
H A D | incomplete_cholesky.cpp | 17 typedef SparseMatrix<T,0,I> SparseMatrixType; typedef 18 ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > cg_illt_lower_amd; 19 ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, NaturalOrdering<I> > > cg_illt_lower_nat; 20 ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, AMDOrdering<I> > > cg_illt_upper_amd; 21 ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, NaturalOrdering<I> > > cg_illt_upper_nat; 22 ConjugateGradient<SparseMatrixType, Upper|Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > cg_illt_uplo_amd;
|
H A D | sparse_basic.cpp | 17 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref) 19 typedef typename SparseMatrixType::StorageIndex StorageIndex; 27 typedef typename SparseMatrixType::Scalar Scalar; 28 typedef typename SparseMatrixType::RealScalar RealScalar; 29 enum { Flags = SparseMatrixType::Flags }; 38 SparseMatrixType m(rows, cols); 50 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) 71 SparseMatrixType m2(rows,cols); 92 if(call_reserve && !SparseMatrixType [all...] |
H A D | sparse_block.cpp | 26 template<typename SparseMatrixType> void sparse_block(const SparseMatrixType& ref) 33 typedef typename SparseMatrixType::Scalar Scalar; 34 typedef typename SparseMatrixType::StorageIndex StorageIndex; 37 typedef Matrix<Scalar,Dynamic,Dynamic,SparseMatrixType::IsRowMajor?RowMajor:ColMajor> DenseMatrix; 44 SparseMatrixType m(rows, cols); 124 SparseMatrixType m2(rows, cols); 158 SparseMatrixType m3(rows,cols); 187 SparseMatrixType m2(rows, cols); 193 if(SparseMatrixType [all...] |
H A D | sparse_product.cpp | 30 template<typename SparseMatrixType> void sparse_product() 32 typedef typename SparseMatrixType::StorageIndex StorageIndex; 37 typedef typename SparseMatrixType::Scalar Scalar; 38 enum { Flags = SparseMatrixType::Flags }; 62 SparseMatrixType m2 (rows, depth); 63 SparseMatrixType m2t(depth, rows); 64 SparseMatrixType m3 (depth, cols); 65 SparseMatrixType m3t(cols, depth); 66 SparseMatrixType m4 (rows, cols); 67 SparseMatrixType m4 [all...] |
H A D | sparse_vector.cpp | 19 typedef SparseMatrix<Scalar,0,StorageIndex> SparseMatrixType; typedef 22 SparseMatrixType m1(rows,rows); 106 SparseMatrixType mv1;
|
H A D | sparse_permutations.cpp | 44 template<int OtherStorage, typename SparseMatrixType> void sparse_permutations(const SparseMatrixType& ref) 48 typedef typename SparseMatrixType::Scalar Scalar; 49 typedef typename SparseMatrixType::StorageIndex StorageIndex; 53 // bool IsRowMajor1 = SparseMatrixType::IsRowMajor; 58 SparseMatrixType mat(rows, cols), up(rows,cols), lo(rows,cols);
|
/external/eigen/unsupported/test/ |
H A D | sparse_extra.cpp | 50 template<typename SparseMatrixType> void sparse_extra(const SparseMatrixType& ref) 54 typedef typename SparseMatrixType::Scalar Scalar; 55 enum { Flags = SparseMatrixType::Flags }; 62 SparseMatrixType m(rows, cols); 77 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) 91 // SparseSetter<SparseMatrixType, RandomAccessPattern> w(m); 103 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords) )); 105 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonzeroCoords) )); 108 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, GoogleDenseHashMapTrait [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
H A D | RandomSetter.h | 98 * \tparam SparseMatrixType the type of the sparse matrix we are updating 144 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) 204 for (typename SparseMatrixType::InnerIterator it(*mp_target,j); it; ++it) 320 SparseMatrixType* mp_target;
|
H A D | MarketIO.h | 132 template<typename SparseMatrixType> 133 bool loadMarket(SparseMatrixType& mat, const std::string& filename) 135 typedef typename SparseMatrixType::Scalar Scalar; 136 typedef typename SparseMatrixType::Index Index; 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)
|
H A D | DynamicSparseMatrix.h | 366 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/Eigen/src/SparseCore/ |
H A D | SparseBlock.h | 95 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) 115 inline sparse_matrix_block_impl(SparseMatrixType& xpr, Index startRow, Index startCol, Index blockRows, Index blockCols) 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 292 typedef SparseMatrix<_Scalar, _Options, _StorageIndex> SparseMatrixType; typedef in class:Eigen::BlockImpl 311 typedef const SparseMatrix<_Scalar, _Options, _StorageIndex> SparseMatrixType; typedef in class:Eigen::BlockImpl [all...] |
H A D | SparseMatrix.h | 919 template<typename InputIterator, typename SparseMatrixType, typename DupFunctor> 920 void set_from_triplets(const InputIterator& begin, const InputIterator& end, SparseMatrixType& mat, DupFunctor dup_func) 922 enum { IsRowMajor = SparseMatrixType::IsRowMajor }; 923 typedef typename SparseMatrixType::Scalar Scalar; 924 typedef typename SparseMatrixType::StorageIndex StorageIndex; 930 typename SparseMatrixType::IndexVector wi(trMat.outerSize()); 982 SparseMatrixType m(rows,cols); 1394 typedef SparseMatrix<_Scalar,_Options,_StorageIndex> SparseMatrixType; typedef in struct:Eigen::internal::evaluator 1396 explicit evaluator(const SparseMatrixType &mat) : Base(mat) {}
|
H A D | SparseMap.h | 216 * \tparam SparseMatrixType the equivalent sparse matrix type of the referenced data, it must be a template instance of class SparseMatrix. 218 * \sa class Map, class SparseMatrix, class Ref<SparseMatrixType,Options> 225 template<typename SparseMatrixType> 226 class Map<SparseMatrixType> 241 * This constructor is available only if \c SparseMatrixType is non-const. 267 * This constructor is available only if \c SparseMatrixType is const, e.g.:
|
H A D | SparseRef.h | 115 * \tparam SparseMatrixType the equivalent sparse matrix type of the referenced data, it must be a template instance of class SparseMatrix. 126 template<typename SparseMatrixType, int Options> 127 class Ref<SparseMatrixType, Options>
|
/external/eigen/Eigen/src/PardisoSupport/ |
H A D | PardisoSupport.h | 114 typedef SparseMatrix<Scalar,RowMajor,StorageIndex> SparseMatrixType; typedef in class:Eigen::PardisoImpl 247 mutable SparseMatrixType m_matrix;
|