Lines Matching refs:m2
26 m2 = MatrixType::Random(rows, cols), in linearStructure() local
37 VERIFY_IS_APPROX(m1+m2-m1, m2); in linearStructure()
38 VERIFY_IS_APPROX(-m2+m1+m2, m1); in linearStructure()
40 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in linearStructure()
41 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2); in linearStructure()
42 m3 = m2; m3 += m1; in linearStructure()
43 VERIFY_IS_APPROX(m3, m1+m2); in linearStructure()
44 m3 = m2; m3 -= m1; in linearStructure()
45 VERIFY_IS_APPROX(m3, m2-m1); in linearStructure()
46 m3 = m2; m3 *= s1; in linearStructure()
47 VERIFY_IS_APPROX(m3, s1*m2); in linearStructure()
50 m3 = m2; m3 /= s1; in linearStructure()
51 VERIFY_IS_APPROX(m3, m2/s1); in linearStructure()
56 VERIFY_IS_APPROX((m1-m2)(r,c), (m1(r,c))-(m2(r,c))); in linearStructure()
57 VERIFY_IS_APPROX((m1+m2)(r,c), (m1(r,c))+(m2(r,c))); in linearStructure()