Home | History | Annotate | Download | only in test

Lines Matching refs:SparseMatrix

45 EIGEN_DONT_INLINE void call_ref_1(Ref<SparseMatrix<float> > a, const B &b) { VERIFY_IS_EQUAL(a.toDense(),b.toDense()); }
48 EIGEN_DONT_INLINE void call_ref_2(const Ref<const SparseMatrix<float> >& a, const B &b) { VERIFY_IS_EQUAL(a.toDense(),b.toDense()); }
51 EIGEN_DONT_INLINE void call_ref_3(const Ref<const SparseMatrix<float>, StandardCompressedFormat>& a, const B &b) {
64 SparseMatrix<float> A = MatrixXf::Random(10,10).sparseView(0.5,1);
65 SparseMatrix<float,RowMajor> B = MatrixXf::Random(10,10).sparseView(0.5,1);
66 SparseMatrix<float> C = MatrixXf::Random(10,10).sparseView(0.5,1);
68 const SparseMatrix<float>& Ac(A);
69 Block<SparseMatrix<float> > Ab(A,0,1, 3,3);
70 const Block<SparseMatrix<float> > Abc(A,0,1,3,3);
73 SparseMatrix<float> AA = A*A;
96 Ref<SparseMatrix<float> > Ar(A);
101 Ref<SparseMatrix<float,RowMajor> > Br(B);
106 Ref<const SparseMatrix<float> > Arc(A);
132 CALL_SUBTEST_1( check_const_correctness(SparseMatrix<float>()) );
133 CALL_SUBTEST_1( check_const_correctness(SparseMatrix<double,RowMajor>()) );