Lines Matching refs:refV1
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);
66 VERIFY_IS_APPROX(v1/=s1, refV1/=s1);
68 VERIFY_IS_APPROX(v1+=v2, refV1+=refV2);
69 VERIFY_IS_APPROX(v1-=v2, refV1-=refV2);
71 VERIFY_IS_APPROX(v1.eigen2_dot(v2), refV1.eigen2_dot(refV2));
72 VERIFY_IS_APPROX(v1.eigen2_dot(refV2), refV1.eigen2_dot(refV2));