Home
last modified time | relevance | path

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

12345

/external/eigen/test/
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()
Dincomplete_cholesky.cpp17 typedef SparseMatrix<T,0,I_> SparseMatrixType; in test_incomplete_cholesky_T()
41 Eigen::SparseMatrix<double> m( N, N ); in bug1150()
51 Eigen::SparseMatrix<double> A; in bug1150()
54 Eigen::ConjugateGradient<Eigen::SparseMatrix<double>, in bug1150()
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()
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 EIGEN_DECLARE_TEST()
232 …internal::nested_eval<Product<SparseMatrix<double>,PermutationMatrix<Dynamic,Dynamic>,AliasFreePro… in EIGEN_DECLARE_TEST()
234 …VERIFY((internal::is_same<internal::permutation_matrix_product<SparseMatrix<double>,OnTheLeft,fals… in EIGEN_DECLARE_TEST()
235 …internal::nested_eval<Product<PermutationMatrix<Dynamic,Dynamic>,SparseMatrix<double>,AliasFreePro… in EIGEN_DECLARE_TEST()
/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;
107 EIGEN_SPARSE_PUBLIC_INTERFACE(SparseMatrix)
112 typedef Diagonal<SparseMatrix> DiagonalReturnType;
[all …]
DConservativeSparseSparseProduct.h141 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
142 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
171 … typedef SparseMatrix<typename Rhs::Scalar,RowMajor,typename ResultType::StorageIndex> RowMajorRhs;
172 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
185 … typedef SparseMatrix<typename Lhs::Scalar,RowMajor,typename ResultType::StorageIndex> RowMajorLhs;
186 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
199 …typedef SparseMatrix<typename ResultType::Scalar,RowMajor,typename ResultType::StorageIndex> RowMa…
214 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
226 … typedef SparseMatrix<typename Lhs::Scalar,ColMajor,typename ResultType::StorageIndex> ColMajorLhs;
227 …typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::StorageIndex> ColMa…
[all …]
/external/eigen/unsupported/test/
Dsparse_extra.cpp53 bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<V… in test_random_setter()
112 if(internal::is_same<SparseMatrixType,SparseMatrix<Scalar,Flags> >::value) in sparse_extra()
194 CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(8, 8)) ); in EIGEN_DECLARE_TEST()
195 CALL_SUBTEST_2( sparse_extra(SparseMatrix<std::complex<double> >(s, s)) ); in EIGEN_DECLARE_TEST()
196 CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(s, s)) ); in EIGEN_DECLARE_TEST()
205 CALL_SUBTEST_4( (check_marketio<SparseMatrix<float,ColMajor,int> >()) ); in EIGEN_DECLARE_TEST()
206 CALL_SUBTEST_4( (check_marketio<SparseMatrix<double,ColMajor,int> >()) ); in EIGEN_DECLARE_TEST()
207 CALL_SUBTEST_4( (check_marketio<SparseMatrix<std::complex<float>,ColMajor,int> >()) ); in EIGEN_DECLARE_TEST()
208 CALL_SUBTEST_4( (check_marketio<SparseMatrix<std::complex<double>,ColMajor,int> >()) ); in EIGEN_DECLARE_TEST()
209 CALL_SUBTEST_4( (check_marketio<SparseMatrix<float,ColMajor,long int> >()) ); in EIGEN_DECLARE_TEST()
[all …]
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()
/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;
85 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_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()
Dsparse_storage_mismatch.cpp4 typedef SparseMatrix<double,ColMajor> Mat1;
6 typedef SparseMatrix<double,RowMajor> Mat2;
8 typedef SparseMatrix<double,ColMajor> Mat2;
/external/tensorflow/tensorflow/core/kernels/sparse/
Dsparse_cholesky_op.cc74 using SparseMatrix = Eigen::SparseMatrix<T, Eigen::ColMajor>; typedef in tensorflow::CSRSparseCholeskyCPUOp
102 std::vector<SparseMatrix> sparse_cholesky_factors(batch_size); in Compute()
119 Eigen::Map<const SparseMatrix> sparse_matrix( in Compute()
125 Eigen::SimplicialLLT<SparseMatrix, Eigen::Upper, in Compute()
139 SparseMatrix permuted_sparse_matrix; in Compute()
196 const SparseMatrix& cholesky_factor = in Compute()
/external/tensorflow/tensorflow/python/ops/linalg/sparse/
Dsparse_csr_matrix_ops.py175 if not isinstance(a, SparseMatrix) and not isinstance(b, SparseMatrix):
186 a_matrix = a._matrix if isinstance(a, SparseMatrix) else a
187 b_matrix = b._matrix if isinstance(b, SparseMatrix) else b
189 if isinstance(a, SparseMatrix) and isinstance(b, SparseMatrix):
209 elif isinstance(a, SparseMatrix):
242 class SparseMatrix(metaclass=abc.ABCMeta): class
309 class CSRSparseMatrix(SparseMatrix):
/external/eigen/bench/spbench/
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()
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()

12345