Home
last modified time | relevance | path

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

/external/eigen/unsupported/test/
Dsparse_extra.cpp18 …SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) in test_random_setter() argument
23 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter()
36 …etter(DynamicSparseMatrix<T>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) in test_random_setter() argument
39 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter()
67 std::vector<Vector2i> nonzeroCoords; 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()
82 m.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_extra()
83 refMat.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_extra()
103 …IFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords) )); in sparse_extra()
[all …]
/external/eigen/test/
Dsparse.h62 std::vector<Matrix<StorageIndex,2,1> >* nonzeroCoords = 0)
98 if (nonzeroCoords)
99 nonzeroCoords->push_back(Matrix<StorageIndex,2,1> (ai,aj));
117 std::vector<Matrix<Index,2,1> >* nonzeroCoords = 0)
147 if (nonzeroCoords)
148 nonzeroCoords->push_back(Matrix<Index,2,1> (ai,aj));
165 std::vector<int>* nonzeroCoords = 0)
175 if (nonzeroCoords)
176 nonzeroCoords->push_back(i);
189 std::vector<int>* nonzeroCoords = 0)
[all …]
Dsparse_solvers.cpp43 std::vector<Vector2i> nonzeroCoords; in sparse_solvers() local
52 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers()
57 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers()
71 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers()
76 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers()
98 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers()
Dsparse_basic.cpp43 std::vector<Vector2> nonzeroCoords; in sparse_basic() local
44 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_basic()
55 if(!nonzeroCoords.empty()) { in sparse_basic()
56 m.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_basic()
57 refMat.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_basic()