HomeSort by relevance Sort by last modified time
    Searched refs:SparseMatrixType (Results 1 - 13 of 13) sorted by null

  /external/eigen/unsupported/test/
sparse_extra.cpp 50 template<typename SparseMatrixType> void sparse_extra(const SparseMatrixType& ref)
52 typedef typename SparseMatrixType::Index Index;
55 typedef typename SparseMatrixType::Scalar Scalar;
56 enum { Flags = SparseMatrixType::Flags };
63 SparseMatrixType m(rows, cols);
78 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value)
92 // SparseSetter<SparseMatrixType, RandomAccessPattern> w(m);
104 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords) ));
106 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonzeroCoords) ))
    [all...]
  /external/eigen/test/eigen2/
eigen2_sparse_basic.cpp 46 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref)
50 typedef typename SparseMatrixType::Scalar Scalar;
51 enum { Flags = SparseMatrixType::Flags };
58 SparseMatrixType m(rows, cols);
74 if(ei_is_same_type<SparseMatrixType,SparseMatrix<Scalar,Flags> >::ret)
130 // SparseSetter<SparseMatrixType, FullyCoherentAccessPattern> w(m);
142 // SparseSetter<SparseMatrixType, RandomAccessPattern> w(m);
154 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords) ));
156 VERIFY(( test_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonzeroCoords) ))
    [all...]
eigen2_sparse_product.cpp 12 template<typename SparseMatrixType> void sparse_product(const SparseMatrixType& ref)
16 typedef typename SparseMatrixType::Scalar Scalar;
17 enum { Flags = SparseMatrixType::Flags };
29 SparseMatrixType m2(rows, rows);
30 SparseMatrixType m3(rows, rows);
31 SparseMatrixType m4(rows, rows);
61 SparseMatrixType m2(rows, rows);
62 SparseMatrixType m3(rows, rows);
79 SparseMatrixType mUp(rows, rows)
    [all...]
eigen2_sparse_vector.cpp 19 typedef SparseMatrix<Scalar> SparseMatrixType;
22 SparseMatrixType m1(rows,cols);
  /external/eigen/test/
sparse_product.cpp 12 template<typename SparseMatrixType, typename DenseMatrix, bool IsRowMajor=SparseMatrixType::IsRowMajor> struct test_outer;
14 template<typename SparseMatrixType, typename DenseMatrix> struct test_outer<SparseMatrixType,DenseMatrix,false> {
15 static void run(SparseMatrixType& m2, SparseMatrixType& m4, DenseMatrix& refMat2, DenseMatrix& refMat4) {
16 typedef typename SparseMatrixType::Index Index;
24 template<typename SparseMatrixType, typename DenseMatrix> struct test_outer<SparseMatrixType,DenseMatrix,true> {
25 static void run(SparseMatrixType& m2, SparseMatrixType& m4, DenseMatrix& refMat2, DenseMatrix& refMat4)
    [all...]
sparse_basic.cpp 14 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref)
16 typedef typename SparseMatrixType::Index Index;
21 typedef typename SparseMatrixType::Scalar Scalar;
22 enum { Flags = SparseMatrixType::Flags };
31 SparseMatrixType m(rows, cols);
46 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value)
105 SparseMatrixType m2(rows,cols);
125 SparseMatrixType m2(rows,cols);
149 SparseMatrixType m2(rows,cols)
    [all...]
sparse_vector.cpp 19 typedef SparseMatrix<Scalar,0,Index> SparseMatrixType;
22 SparseMatrixType m1(rows,rows);
89 SparseMatrixType mv1;
sparse_permutations.cpp 12 template<int OtherStorage, typename SparseMatrixType> void sparse_permutations(const SparseMatrixType& ref)
14 typedef typename SparseMatrixType::Index Index;
18 typedef typename SparseMatrixType::Scalar Scalar;
19 typedef typename SparseMatrixType::Index Index;
26 SparseMatrixType mat(rows, cols), up(rows,cols), lo(rows,cols);
  /external/eigen/unsupported/Eigen/src/SparseExtra/
RandomSetter.h 98 * \param SparseMatrixType the type of the sparse matrix we are updating
144 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)
204 for (typename SparseMatrixType::InnerIterator it(*mp_target,j); it; ++it)
320 SparseMatrixType* mp_target;
MarketIO.h 132 template<typename SparseMatrixType>
133 bool loadMarket(SparseMatrixType& mat, const std::string& filename)
135 typedef typename SparseMatrixType::Scalar Scalar;
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/Eigen/src/SparseCore/
SparseBlock.h 82 typedef SparseMatrix<_Scalar, _Options, _Index> SparseMatrixType;
83 typedef typename internal::remove_all<typename SparseMatrixType::Nested>::type _MatrixTypeNested;
84 typedef Block<SparseMatrixType, BlockRows, BlockCols, true> BlockType;
92 class InnerIterator: public SparseMatrixType::InnerIterator
96 : SparseMatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
103 class ReverseInnerIterator: public SparseMatrixType::ReverseInnerIterator
107 : SparseMatrixType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
115 inline BlockImpl(const SparseMatrixType& xpr, int i)
119 inline BlockImpl(const SparseMatrixType& xpr, int startRow, int startCol, int blockRows, int blockCols)
126 typedef typename internal::remove_all<typename SparseMatrixType::Nested>::type _NestedMatrixType
    [all...]
SparseMatrix.h     [all...]
  /external/eigen/Eigen/src/PardisoSupport/
PardisoSupport.h 107 typedef SparseMatrix<Scalar,RowMajor,Index> SparseMatrixType;
271 mutable SparseMatrixType m_matrix;

Completed in 253 milliseconds