Home
last modified time | relevance | path

Searched refs:SparseMatrix (Results 1 – 25 of 92) sorted by relevance

1234

/external/eigen/test/
Dcholmod_support.cpp17 …CholmodDecomposition<SparseMatrix<T>, Lower> g_chol_colmajor_lower; g_chol_colmajor_lower.setMode(… in test_cholmod_T()
18 …CholmodDecomposition<SparseMatrix<T>, Upper> g_chol_colmajor_upper; g_chol_colmajor_upper.setMode(… in test_cholmod_T()
19 …CholmodDecomposition<SparseMatrix<T>, Lower> g_llt_colmajor_lower; g_llt_colmajor_lower.setMode(C… in test_cholmod_T()
20 …CholmodDecomposition<SparseMatrix<T>, Upper> g_llt_colmajor_upper; g_llt_colmajor_upper.setMode(C… in test_cholmod_T()
21 …CholmodDecomposition<SparseMatrix<T>, Lower> g_ldlt_colmajor_lower; g_ldlt_colmajor_lower.setMode(… in test_cholmod_T()
22 …CholmodDecomposition<SparseMatrix<T>, Upper> g_ldlt_colmajor_upper; g_ldlt_colmajor_upper.setMode(… in test_cholmod_T()
24 CholmodSupernodalLLT<SparseMatrix<T>, Lower> chol_colmajor_lower; in test_cholmod_T()
25 CholmodSupernodalLLT<SparseMatrix<T>, Upper> chol_colmajor_upper; in test_cholmod_T()
26 CholmodSimplicialLLT<SparseMatrix<T>, Lower> llt_colmajor_lower; in test_cholmod_T()
27 CholmodSimplicialLLT<SparseMatrix<T>, Upper> llt_colmajor_upper; in test_cholmod_T()
[all …]
Dsparse_ref.cpp45 EIGEN_DONT_INLINE void call_ref_1(Ref<SparseMatrix<float> > a, const B &b) { VERIFY_IS_EQUAL(a.toDe… in call_ref_1()
48 EIGEN_DONT_INLINE void call_ref_2(const Ref<const SparseMatrix<float> >& a, const B &b) { VERIFY_IS… in call_ref_2()
51 EIGEN_DONT_INLINE void call_ref_3(const Ref<const SparseMatrix<float>, StandardCompressedFormat>& a… in call_ref_3()
64 SparseMatrix<float> A = MatrixXf::Random(10,10).sparseView(0.5,1); in call_ref()
65 SparseMatrix<float,RowMajor> B = MatrixXf::Random(10,10).sparseView(0.5,1); in call_ref()
66 SparseMatrix<float> C = MatrixXf::Random(10,10).sparseView(0.5,1); in call_ref()
68 const SparseMatrix<float>& Ac(A); in call_ref()
69 Block<SparseMatrix<float> > Ab(A,0,1, 3,3); in call_ref()
70 const Block<SparseMatrix<float> > Abc(A,0,1,3,3); in call_ref()
73 SparseMatrix<float> AA = A*A; in call_ref()
[all …]
Dpastix_support.cpp19 PastixLLT< SparseMatrix<T, ColMajor>, Eigen::Lower > pastix_llt_lower; in test_pastix_T()
20 PastixLDLT< SparseMatrix<T, ColMajor>, Eigen::Lower > pastix_ldlt_lower; in test_pastix_T()
21 PastixLLT< SparseMatrix<T, ColMajor>, Eigen::Upper > pastix_llt_upper; in test_pastix_T()
22 PastixLDLT< SparseMatrix<T, ColMajor>, Eigen::Upper > pastix_ldlt_upper; in test_pastix_T()
23 PastixLU< SparseMatrix<T, ColMajor> > pastix_lu; in test_pastix_T()
44 PastixLU< SparseMatrix<T, ColMajor> > pastix_lu; in test_pastix_T_LU()
Dpardiso_support.cpp10 PardisoLLT < SparseMatrix<T, RowMajor>, Lower> pardiso_llt_lower; in test_pardiso_T()
11 PardisoLLT < SparseMatrix<T, RowMajor>, Upper> pardiso_llt_upper; in test_pardiso_T()
12 PardisoLDLT < SparseMatrix<T, RowMajor>, Lower> pardiso_ldlt_lower; in test_pardiso_T()
13 PardisoLDLT < SparseMatrix<T, RowMajor>, Upper> pardiso_ldlt_upper; in test_pardiso_T()
14 PardisoLU < SparseMatrix<T, RowMajor> > pardiso_lu; in test_pardiso_T()
Dlscg.cpp15 LeastSquaresConjugateGradient<SparseMatrix<T> > lscg_colmajor_diag; in test_lscg_T()
16 LeastSquaresConjugateGradient<SparseMatrix<T>, IdentityPreconditioner> lscg_colmajor_I; in test_lscg_T()
17 LeastSquaresConjugateGradient<SparseMatrix<T,RowMajor> > lscg_rowmajor_diag; in test_lscg_T()
18 LeastSquaresConjugateGradient<SparseMatrix<T,RowMajor>, IdentityPreconditioner> lscg_rowmajor_I; in test_lscg_T()
Dsparselu.cpp24 …SparseLU<SparseMatrix<T, ColMajor> /*, COLAMDOrdering<int>*/ > sparselu_colamd; // COLAMDOrdering … in test_sparselu_T()
25 SparseLU<SparseMatrix<T, ColMajor>, AMDOrdering<int> > sparselu_amd; in test_sparselu_T()
26 SparseLU<SparseMatrix<T, ColMajor, long int>, NaturalOrdering<long int> > sparselu_natural; in test_sparselu_T()
Dbicgstab.cpp15 BiCGSTAB<SparseMatrix<T,0,I>, DiagonalPreconditioner<T> > bicgstab_colmajor_diag; in test_bicgstab_T()
16 BiCGSTAB<SparseMatrix<T,0,I>, IdentityPreconditioner > bicgstab_colmajor_I; in test_bicgstab_T()
17 BiCGSTAB<SparseMatrix<T,0,I>, IncompleteLUT<T,I> > bicgstab_colmajor_ilut; in test_bicgstab_T()
Dincomplete_cholesky.cpp17 typedef SparseMatrix<T,0,I> SparseMatrixType; in test_incomplete_cholesky_T()
45 Eigen::SparseMatrix<double> m( N, N ); in test_incomplete_cholesky()
55 Eigen::SparseMatrix<double> A; in test_incomplete_cholesky()
58 Eigen::ConjugateGradient<Eigen::SparseMatrix<double>, in test_incomplete_cholesky()
Dsparse_permutations.cpp50 typedef SparseMatrix<Scalar, OtherStorage, StorageIndex> OtherSparseMatrixType; in sparse_permutations()
217 CALL_SUBTEST(( sparse_permutations<ColMajor>(SparseMatrix<Scalar, ColMajor>(size,size)) )); in sparse_permutations_all()
218 CALL_SUBTEST(( sparse_permutations<ColMajor>(SparseMatrix<Scalar, RowMajor>(size,size)) )); in sparse_permutations_all()
219 CALL_SUBTEST(( sparse_permutations<RowMajor>(SparseMatrix<Scalar, ColMajor>(size,size)) )); in sparse_permutations_all()
220 CALL_SUBTEST(( sparse_permutations<RowMajor>(SparseMatrix<Scalar, RowMajor>(size,size)) )); in sparse_permutations_all()
231 …VERIFY((internal::is_same<internal::permutation_matrix_product<SparseMatrix<double>,OnTheRight,fal… in test_sparse_permutations()
232 …internal::nested_eval<Product<SparseMatrix<double>,PermutationMatrix<Dynamic,Dynamic>,AliasFreePro… in test_sparse_permutations()
234 …VERIFY((internal::is_same<internal::permutation_matrix_product<SparseMatrix<double>,OnTheLeft,fals… in test_sparse_permutations()
235 …internal::nested_eval<Product<PermutationMatrix<Dynamic,Dynamic>,SparseMatrix<double>,AliasFreePro… in test_sparse_permutations()
/external/eigen/Eigen/src/SparseCore/
DSparseMap.h18 struct traits<Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
19 : public traits<SparseMatrix<MatScalar,MatOptions,MatIndex> >
21 typedef SparseMatrix<MatScalar,MatOptions,MatIndex> PlainObjectType;
29 struct traits<Map<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
30 : public traits<SparseMatrix<MatScalar,MatOptions,MatIndex> >
32 typedef SparseMatrix<MatScalar,MatOptions,MatIndex> PlainObjectType;
222 class Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType>
223 : public SparseMapBase<Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
255 class Map<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType>
256 …: public SparseMapBase<Map<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType>…
[all …]
DSparseRef.h24 struct traits<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
25 : public traits<SparseMatrix<MatScalar,MatOptions,MatIndex> >
27 typedef SparseMatrix<MatScalar,MatOptions,MatIndex> PlainObjectType;
44 struct traits<Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
45 : public traits<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
48 …Flags = (traits<SparseMatrix<MatScalar,MatOptions,MatIndex> >::Flags | CompressedAccessBit | NestB…
123 class Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType >
124 …: public internal::SparseRefBase<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideT…
131 typedef SparseMatrix<MatScalar,MatOptions,MatIndex> PlainObjectType;
134 inline Ref(const SparseMatrix<MatScalar,OtherOptions,MatIndex>& expr);
[all …]
DSparseMatrix.h47 struct traits<SparseMatrix<_Scalar, _Options, _StorageIndex> >
64 struct traits<Diagonal<SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
66 typedef SparseMatrix<_Scalar, _Options, _StorageIndex> MatrixType;
85 struct traits<Diagonal<const SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
86 : public traits<Diagonal<SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
96 class SparseMatrix
97 : public SparseCompressedBase<SparseMatrix<_Scalar, _Options, _StorageIndex> >
99 typedef SparseCompressedBase<SparseMatrix> Base;
105 EIGEN_SPARSE_PUBLIC_INTERFACE(SparseMatrix)
110 typedef Diagonal<SparseMatrix> DiagonalReturnType;
[all …]
DConservativeSparseSparseProduct.h139 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
140 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
169 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
182 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
195 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
210 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
222 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
235 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
248 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
249 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
[all …]
DSparseSparseProductWithPruning.h106 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> Spars…
132 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename Lhs::StorageIndex> ColMajorMatr…
133 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename Lhs::StorageIndex> ColMajorMatr…
152 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename Lhs::StorageIndex> RowMajorMatr…
164 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename Lhs::StorageIndex> RowMajorMatr…
176 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename Lhs::StorageIndex> ColMajorMatr…
188 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename Lhs::StorageIndex> ColMajorMatr…
/external/eigen/unsupported/test/
Dminres.cpp18 MINRES<SparseMatrix<T>, Lower, IdentityPreconditioner > minres_colmajor_lower_I; in test_minres_T()
19 MINRES<SparseMatrix<T>, Upper, IdentityPreconditioner > minres_colmajor_upper_I; in test_minres_T()
22 MINRES<SparseMatrix<T>, Lower, DiagonalPreconditioner<T> > minres_colmajor_lower_diag; in test_minres_T()
23 MINRES<SparseMatrix<T>, Upper, DiagonalPreconditioner<T> > minres_colmajor_upper_diag; in test_minres_T()
24 MINRES<SparseMatrix<T>, Lower|Upper, DiagonalPreconditioner<T> > minres_colmajor_uplo_diag; in test_minres_T()
Ddgmres.cpp16 DGMRES<SparseMatrix<T>, DiagonalPreconditioner<T> > dgmres_colmajor_diag; in test_dgmres_T()
17 DGMRES<SparseMatrix<T>, IdentityPreconditioner > dgmres_colmajor_I; in test_dgmres_T()
18 DGMRES<SparseMatrix<T>, IncompleteLUT<T> > dgmres_colmajor_ilut; in test_dgmres_T()
Dgmres.cpp16 GMRES<SparseMatrix<T>, DiagonalPreconditioner<T> > gmres_colmajor_diag; in test_gmres_T()
17 GMRES<SparseMatrix<T>, IdentityPreconditioner > gmres_colmajor_I; in test_gmres_T()
18 GMRES<SparseMatrix<T>, IncompleteLUT<T> > gmres_colmajor_ilut; in test_gmres_T()
Dsparse_extra.cpp18 bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<V… in test_random_setter()
77 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) in sparse_extra()
136 CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(8, 8)) ); in test_sparse_extra()
137 CALL_SUBTEST_2( sparse_extra(SparseMatrix<std::complex<double> >(s, s)) ); in test_sparse_extra()
138 CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(s, s)) ); in test_sparse_extra()
/external/eigen/doc/examples/
Dmatrixfree_cg.cpp8 using Eigen::SparseMatrix;
14 struct traits<MatrixReplacement> : public Eigen::internal::traits<Eigen::SparseMatrix<double> >
44 void attachMyMatrix(const SparseMatrix<double> &mat) { in attachMyMatrix()
47 const SparseMatrix<double> my_matrix() const { return *mp_mat; } in my_matrix()
50 const SparseMatrix<double> *mp_mat;
84 Eigen::SparseMatrix<double> S = Eigen::MatrixXd::Random(n,n).sparseView(0.5,1); in main()
/external/eigen/failtest/
Dsparse_ref_3.cpp6 void call_ref(Ref<SparseMatrix<float> > a) { } in call_ref()
8 void call_ref(const Ref<const SparseMatrix<float> > &a) { } in call_ref()
13 SparseMatrix<float> a(10,10); in main()
Dsparse_ref_1.cpp11 void call_ref(Ref<SparseMatrix<float> > a) { } in call_ref()
15 SparseMatrix<float> a(10,10); in main()
16 CV_QUALIFIER SparseMatrix<float>& ac(a); in main()
Dsparse_storage_mismatch.cpp4 typedef SparseMatrix<double,ColMajor> Mat1;
6 typedef SparseMatrix<double,RowMajor> Mat2;
8 typedef SparseMatrix<double,ColMajor> Mat2;
Dsparse_ref_5.cpp5 void call_ref(Ref<SparseMatrix<float> > a) { } in call_ref()
9 SparseMatrix<float> a(10,10); in main()
10 SparseMatrixBase<SparseMatrix<float> > &ac(a); in main()
/external/eigen/bench/spbench/
Dsp_solver.cpp22 SparseMatrix<double, ColMajor> A; in main()
23 typedef SparseMatrix<double, ColMajor>::Index Index; in main()
30 …ConjugateGradient<SparseMatrix<double, ColMajor>, Lower,IncompleteCholesky<double,Lower> > solver; in main()
49 SparseMatrix<double, ColMajor> temp; in main()
Dtest_sparseLU.cpp21 SparseMatrix<scalar, ColMajor> A; in main()
22 typedef SparseMatrix<scalar, ColMajor>::Index Index; in main()
31 SparseLU<SparseMatrix<scalar, ColMajor>, COLAMDOrdering<int> > solver; in main()
51 SparseMatrix<scalar, ColMajor> temp; in main()

1234