Home
last modified time | relevance | path

Searched refs:zeroCoords (Results 1 – 7 of 7) sorted by relevance

/external/eigen/test/eigen2/
Dsparse.h49 std::vector<Vector2i>* zeroCoords = 0,
77 else if (zeroCoords)
79 zeroCoords->push_back(Vector2i(i,j));
92 std::vector<Vector2i>* zeroCoords = 0,
120 else if (zeroCoords)
122 zeroCoords->push_back(Vector2i(i,j));
134 std::vector<int>* zeroCoords = 0,
148 else if (zeroCoords)
149 zeroCoords->push_back(i);
Deigen2_sparse_basic.cpp63 std::vector<Vector2i> zeroCoords; in sparse_basic() local
65 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_basic()
67 if (zeroCoords.size()==0 || nonzeroCoords.size()==0) in sparse_basic()
71 for (int i=0; i<(int)zeroCoords.size(); ++i) in sparse_basic()
73 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_basic()
75 VERIFY_RAISES_ASSERT( m.coeffRef(zeroCoords[0].x(),zeroCoords[0].y()) = 5 ); in sparse_basic()
Deigen2_sparse_solvers.cpp42 std::vector<Vector2i> zeroCoords; in sparse_solvers() local
52 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers()
57 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers()
62 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers()
67 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers()
145 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag, &zeroCoords, &nonzeroCoords); in sparse_solvers()
/external/eigen/unsupported/test/
Dsparse_extra.cpp68 std::vector<Vector2i> zeroCoords; in sparse_extra() local
70 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_extra()
72 if (zeroCoords.size()==0 || nonzeroCoords.size()==0) in sparse_extra()
76 for (int i=0; i<(int)zeroCoords.size(); ++i) in sparse_extra()
78 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_extra()
80 VERIFY_RAISES_ASSERT( m.coeffRef(zeroCoords[0].x(),zeroCoords[0].y()) = 5 ); in sparse_extra()
/external/eigen/test/
Dsparse.h61 std::vector<Vector2i>* zeroCoords = 0,
98 else if (zeroCoords)
100 zeroCoords->push_back(Vector2i(ai,aj));
113 std::vector<Vector2i>* zeroCoords = 0,
147 else if (zeroCoords)
149 zeroCoords->push_back(Vector2i(ai,aj));
161 std::vector<int>* zeroCoords = 0,
175 else if (zeroCoords)
176 zeroCoords->push_back(i);
Dsparse_solvers.cpp42 std::vector<Vector2i> zeroCoords; in sparse_solvers() local
52 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers()
57 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers()
71 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers()
76 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers()
98 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers()
Dsparse_basic.cpp32 std::vector<Vector2i> zeroCoords; in sparse_basic() local
34 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_basic()
36 if (zeroCoords.size()==0 || nonzeroCoords.size()==0) in sparse_basic()
40 for (int i=0; i<(int)zeroCoords.size(); ++i) in sparse_basic()
42 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_basic()
44 VERIFY_RAISES_ASSERT( m.coeffRef(zeroCoords[0].x(),zeroCoords[0].y()) = 5 ); in sparse_basic()