Home
last modified time | relevance | path

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

/external/eigen/test/
Dsparse.h61 std::vector<Matrix<StorageIndex,2,1> >* zeroCoords = 0,
101 else if (zeroCoords)
103 zeroCoords->push_back(Matrix<StorageIndex,2,1> (ai,aj));
116 std::vector<Matrix<Index,2,1> >* zeroCoords = 0,
150 else if (zeroCoords)
152 zeroCoords->push_back(Matrix<Index,2,1> (ai,aj));
164 std::vector<int>* zeroCoords = 0,
178 else if (zeroCoords)
179 zeroCoords->push_back(i);
188 std::vector<int>* zeroCoords = 0,
[all …]
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.cpp42 std::vector<Vector2> zeroCoords; in sparse_basic() local
44 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_basic()
47 for (std::size_t i=0; i<zeroCoords.size(); ++i) in sparse_basic()
49 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_basic()
51 VERIFY_RAISES_ASSERT( m.coeffRef(zeroCoords[i].x(),zeroCoords[i].y()) = 5 ); in sparse_basic()
/external/eigen/unsupported/test/
Dsparse_extra.cpp66 std::vector<Vector2i> zeroCoords; in sparse_extra() local
68 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_extra()
70 if (zeroCoords.size()==0 || nonzeroCoords.size()==0) in sparse_extra()
74 for (int i=0; i<(int)zeroCoords.size(); ++i) in sparse_extra()
76 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_extra()
78 VERIFY_RAISES_ASSERT( m.coeffRef(zeroCoords[0].x(),zeroCoords[0].y()) = 5 ); in sparse_extra()