Lines Matching refs:nonzeroCoords
18 …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()
105 …t_random_setter<RandomSetter<SparseMatrixType, StdUnorderedMapTraits> >(m,refMat,nonzeroCoords) )); in sparse_extra()
108 …andom_setter<RandomSetter<SparseMatrixType, GoogleDenseHashMapTraits> >(m,refMat,nonzeroCoords) )); in sparse_extra()
111 …ndom_setter<RandomSetter<SparseMatrixType, GoogleSparseHashMapTraits> >(m,refMat,nonzeroCoords) )); in sparse_extra()