/external/eigen/unsupported/test/ |
D | sparse_extra.cpp | 18 …SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) in test_random_setter() argument 24 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() 37 …etter(DynamicSparseMatrix<T>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) in test_random_setter() argument 40 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() 69 std::vector<Vector2i> nonzeroCoords; 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() 84 m.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_extra() 85 refMat.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_extra() 105 …IFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords) )); in sparse_extra() [all …]
|
/external/eigen/test/eigen2/ |
D | sparse.h | 50 std::vector<Vector2i>* nonzeroCoords = 0) 74 if (nonzeroCoords) 75 nonzeroCoords->push_back(Vector2i(i,j)); 93 std::vector<Vector2i>* nonzeroCoords = 0) 117 if (nonzeroCoords) 118 nonzeroCoords->push_back(Vector2i(i,j)); 135 std::vector<int>* nonzeroCoords = 0) 145 if (nonzeroCoords) 146 nonzeroCoords->push_back(i);
|
D | eigen2_sparse_basic.cpp | 13 …SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) in test_random_setter() argument 19 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() 32 …etter(DynamicSparseMatrix<T>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) in test_random_setter() argument 35 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() 64 std::vector<Vector2i> nonzeroCoords; 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() 79 m.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_basic() 80 refMat.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_basic() 154 …IFY(( test_random_setter<RandomSetter<SparseMatrixType, StdMapTraits> >(m,refMat,nonzeroCoords) )); in sparse_basic() [all …]
|
D | eigen2_sparse_solvers.cpp | 43 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|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers() 62 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers() 67 …e<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); in sparse_solvers() 145 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag, &zeroCoords, &nonzeroCoords); in sparse_solvers()
|
/external/eigen/test/ |
D | sparse.h | 62 std::vector<Vector2i>* nonzeroCoords = 0) 95 if (nonzeroCoords) 96 nonzeroCoords->push_back(Vector2i(ai,aj)); 114 std::vector<Vector2i>* nonzeroCoords = 0) 144 if (nonzeroCoords) 145 nonzeroCoords->push_back(Vector2i(ai,aj)); 162 std::vector<int>* nonzeroCoords = 0) 172 if (nonzeroCoords) 173 nonzeroCoords->push_back(i);
|
D | sparse_solvers.cpp | 43 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()
|
D | sparse_basic.cpp | 33 std::vector<Vector2i> nonzeroCoords; 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() 48 m.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_basic() 49 refMat.coeffRef(nonzeroCoords[0].x(), nonzeroCoords[0].y()) = Scalar(5); in sparse_basic()
|