OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:refV1
(Results
1 - 2
of
2
) sorted by null
/external/eigen/test/
sparse_vector.cpp
25
DenseVector
refV1
= DenseVector::Random(rows),
30
initSparse<Scalar>(densityVec,
refV1
, v1, &zerocoords, &nonzerocoords);
51
VERIFY(it.value()==
refV1
.coeff(it.index()));
54
VERIFY_IS_APPROX(v1,
refV1
);
57
refV1
.coeffRef(nonzerocoords[0]) = Scalar(5);
58
VERIFY_IS_APPROX(v1,
refV1
);
60
VERIFY_IS_APPROX(v1+v2,
refV1
+refV2);
61
VERIFY_IS_APPROX(v1+v2+v3,
refV1
+refV2+refV3);
63
VERIFY_IS_APPROX(v1*s1-v2,
refV1
*s1-refV2);
65
VERIFY_IS_APPROX(v1*=s1,
refV1
*=s1)
[
all
...]
/external/eigen/test/eigen2/
eigen2_sparse_vector.cpp
25
DenseVector
refV1
= DenseVector::Random(rows),
30
initSparse<Scalar>(densityVec,
refV1
, v1, &zerocoords, &nonzerocoords);
51
VERIFY(it.value()==
refV1
.coeff(it.index()));
54
VERIFY_IS_APPROX(v1,
refV1
);
57
refV1
.coeffRef(nonzerocoords[0]) = Scalar(5);
58
VERIFY_IS_APPROX(v1,
refV1
);
60
VERIFY_IS_APPROX(v1+v2,
refV1
+refV2);
61
VERIFY_IS_APPROX(v1+v2+v3,
refV1
+refV2+refV3);
63
VERIFY_IS_APPROX(v1*s1-v2,
refV1
*s1-refV2);
65
VERIFY_IS_APPROX(v1*=s1,
refV1
*=s1)
[
all
...]
Completed in 47 milliseconds