OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nonzerocoords
(Results
1 - 2
of
2
) sorted by null
/external/eigen/test/eigen2/
eigen2_sparse_vector.cpp
29
std::vector<int> zerocoords,
nonzerocoords
;
local
30
initSparse<Scalar>(densityVec, refV1, v1, &zerocoords, &
nonzerocoords
);
45
VERIFY(int(
nonzerocoords
.size()) == v1.nonZeros());
49
VERIFY(
nonzerocoords
[j]==it.index());
56
v1.coeffRef(
nonzerocoords
[0]) = Scalar(5);
57
refV1.coeffRef(
nonzerocoords
[0]) = Scalar(5);
/external/eigen/test/
sparse_vector.cpp
29
std::vector<int> zerocoords,
nonzerocoords
;
local
30
initSparse<Scalar>(densityVec, refV1, v1, &zerocoords, &
nonzerocoords
);
45
VERIFY(int(
nonzerocoords
.size()) == v1.nonZeros());
49
VERIFY(
nonzerocoords
[j]==it.index());
56
v1.coeffRef(
nonzerocoords
[0]) = Scalar(5);
57
refV1.coeffRef(
nonzerocoords
[0]) = Scalar(5);
Completed in 590 milliseconds