Lines Matching refs:VERIFY_IS_APPROX
41 VERIFY_IS_APPROX(-(-m1), m1); in linearStructure()
42 VERIFY_IS_APPROX(m1+m1, 2*m1); in linearStructure()
43 VERIFY_IS_APPROX(m1+m2-m1, m2); in linearStructure()
44 VERIFY_IS_APPROX(-m2+m1+m2, m1); in linearStructure()
45 VERIFY_IS_APPROX(m1*s1, s1*m1); in linearStructure()
46 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in linearStructure()
47 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2); in linearStructure()
49 VERIFY_IS_APPROX(m3, m1+m2); in linearStructure()
51 VERIFY_IS_APPROX(m3, m2-m1); in linearStructure()
53 VERIFY_IS_APPROX(m3, s1*m2); in linearStructure()
57 VERIFY_IS_APPROX(m3, m2/s1); in linearStructure()
61 VERIFY_IS_APPROX((-m1)(r,c), -(m1(r,c))); in linearStructure()
62 VERIFY_IS_APPROX((m1-m2)(r,c), (m1(r,c))-(m2(r,c))); in linearStructure()
63 VERIFY_IS_APPROX((m1+m2)(r,c), (m1(r,c))+(m2(r,c))); in linearStructure()
64 VERIFY_IS_APPROX((s1*m1)(r,c), s1*(m1(r,c))); in linearStructure()
65 VERIFY_IS_APPROX((m1*s1)(r,c), (m1(r,c))*s1); in linearStructure()
67 VERIFY_IS_APPROX((m1/s1)(r,c), (m1(r,c))/s1); in linearStructure()
70 VERIFY_IS_APPROX(m1+m1.block(0,0,rows,cols), m1+m1); in linearStructure()
71 VERIFY_IS_APPROX(m1.cwiseProduct(m1.block(0,0,rows,cols)), m1.cwiseProduct(m1)); in linearStructure()
72 VERIFY_IS_APPROX(m1 - m1.block(0,0,rows,cols), m1 - m1); in linearStructure()
73 VERIFY_IS_APPROX(m1.block(0,0,rows,cols) * s1, m1 * s1); in linearStructure()
86 VERIFY_IS_APPROX(s*m1, Scalar(s)*m1); in real_complex()
90 VERIFY_IS_APPROX(m1*s, m1*Scalar(s)); in real_complex()
94 VERIFY_IS_APPROX(m1/s, m1/Scalar(s)); in real_complex()
98 VERIFY_IS_APPROX(s+m1.array(), Scalar(s)+m1.array()); in real_complex()
102 VERIFY_IS_APPROX(m1.array()+s, m1.array()+Scalar(s)); in real_complex()
106 VERIFY_IS_APPROX(s-m1.array(), Scalar(s)-m1.array()); in real_complex()
110 VERIFY_IS_APPROX(m1.array()-s, m1.array()-Scalar(s)); in real_complex()
142 VERIFY_IS_APPROX(m2.cwiseQuotient(m2), Matrix4d::Ones()); in test_linearstructure()
144 VERIFY_IS_APPROX(m3.cwiseQuotient(m3), Matrix4d::Ones()); in test_linearstructure()