Lines Matching refs:s1
30 Scalar s1 = ei_random<Scalar>(); in linearStructure() local
31 while (ei_abs(s1)<1e-3) s1 = ei_random<Scalar>(); in linearStructure()
40 VERIFY_IS_APPROX(m1*s1, s1*m1); in linearStructure()
41 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in linearStructure()
42 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2); in linearStructure()
47 m3 = m2; m3 *= s1; in linearStructure()
48 VERIFY_IS_APPROX(m3, s1*m2); in linearStructure()
51 m3 = m2; m3 /= s1; in linearStructure()
52 VERIFY_IS_APPROX(m3, m2/s1); in linearStructure()
59 VERIFY_IS_APPROX((s1*m1)(r,c), s1*(m1(r,c))); in linearStructure()
60 VERIFY_IS_APPROX((m1*s1)(r,c), (m1(r,c))*s1); in linearStructure()
62 VERIFY_IS_APPROX((m1/s1)(r,c), (m1(r,c))/s1); in linearStructure()
68 VERIFY_IS_APPROX(m1.block(0,0,rows,cols) * s1, m1 * s1); in linearStructure()