Home | History | Annotate | Download | only in test

Lines Matching refs:m3

43              m3(rows, cols),
59 m3 = MatrixType::Constant(rows, cols, s1);
65 VERIFY_IS_APPROX(m3(i,j), s1);
69 VERIFY(m3.isConstant(s1));
71 VERIFY_IS_APPROX(m4.setConstant(s1), m3);
72 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3);
78 VERIFY_IS_APPROX(m4, m3);
92 m3 = m1; m3.cwise() += 1;
93 VERIFY_IS_APPROX(m1 + mones, m3);
94 m3 = m1; m3.cwise() -= 1;
95 VERIFY_IS_APPROX(m1 - mones, m3);
99 m3 = m1;
100 m3.cwise() *= m2;
101 VERIFY_IS_APPROX(m3, m1.cwise() * m2);
107 m3 = m1.cwise().abs().cwise().sqrt();
108 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs());
113 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1);
114 VERIFY_IS_APPROX(m3.cwise().pow(-1), m3.cwise().inverse());
115 m3 = m1.cwise().abs();
116 VERIFY_IS_APPROX(m3.cwise().pow(RealScalar(0.5)), m3.cwise().sqrt());
120 m3 = m1;
121 m3.cwise() /= m2;
122 VERIFY_IS_APPROX(m3, m1.cwise() / m2);
140 m3 = m1;
141 m3(r,c) += 1;
142 VERIFY( (m1.cwise() == m3).any() );
143 VERIFY( !(m1.cwise() == m3).all() );