Home
last modified time | relevance | path

Searched refs:refV2 (Results 1 – 2 of 2) sorted by relevance

/external/eigen/test/eigen2/
Deigen2_sparse_vector.cpp26 refV2 = DenseVector::Random(rows), in sparse_vector() local
33 initSparse<Scalar>(densityVec, refV2, v2); in sparse_vector()
60 VERIFY_IS_APPROX(v1+v2, refV1+refV2); in sparse_vector()
61 VERIFY_IS_APPROX(v1+v2+v3, refV1+refV2+refV3); in sparse_vector()
63 VERIFY_IS_APPROX(v1*s1-v2, refV1*s1-refV2); in sparse_vector()
68 VERIFY_IS_APPROX(v1+=v2, refV1+=refV2); in sparse_vector()
69 VERIFY_IS_APPROX(v1-=v2, refV1-=refV2); in sparse_vector()
71 VERIFY_IS_APPROX(v1.eigen2_dot(v2), refV1.eigen2_dot(refV2)); in sparse_vector()
72 VERIFY_IS_APPROX(v1.eigen2_dot(refV2), refV1.eigen2_dot(refV2)); in sparse_vector()
/external/eigen/test/
Dsparse_vector.cpp26 refV2 = DenseVector::Random(rows), in sparse_vector() local
33 initSparse<Scalar>(densityVec, refV2, v2); in sparse_vector()
60 VERIFY_IS_APPROX(v1+v2, refV1+refV2); in sparse_vector()
61 VERIFY_IS_APPROX(v1+v2+v3, refV1+refV2+refV3); in sparse_vector()
63 VERIFY_IS_APPROX(v1*s1-v2, refV1*s1-refV2); in sparse_vector()
68 VERIFY_IS_APPROX(v1+=v2, refV1+=refV2); in sparse_vector()
69 VERIFY_IS_APPROX(v1-=v2, refV1-=refV2); in sparse_vector()
71 VERIFY_IS_APPROX(v1.dot(v2), refV1.dot(refV2)); in sparse_vector()
72 VERIFY_IS_APPROX(v1.dot(refV2), refV1.dot(refV2)); in sparse_vector()
74 VERIFY_IS_APPROX(v1.dot(m1*v2), refV1.dot(refM1*refV2)); in sparse_vector()