Home | History | Annotate | Download | only in test

Lines Matching defs:N1

34       N1 = MatrixType::RowsAtCompileTime>1 ?  1 : 0,
39 if(m1.template diagonal<N1>().RowsAtCompileTime!=Dynamic)
41 VERIFY(m1.template diagonal<N1>().RowsAtCompileTime == m1.diagonal(N1).size());
48 m2.template diagonal<N1>() = 2 * m1.template diagonal<N1>();
49 VERIFY_IS_APPROX(m2.template diagonal<N1>(), static_cast<Scalar>(2) * m1.diagonal(N1));
50 m2.template diagonal<N1>()[0] *= 3;
51 VERIFY_IS_APPROX(m2.template diagonal<N1>()[0], static_cast<Scalar>(6) * m1.template diagonal<N1>()[0]);
58 m2.diagonal(N1) = 2 * m1.diagonal(N1);
59 VERIFY_IS_APPROX(m2.diagonal<N1>(), static_cast<Scalar>(2) * m1.diagonal(N1));
60 m2.diagonal(N1)[0] *= 3;
61 VERIFY_IS_APPROX(m2.diagonal(N1)[0], static_cast<Scalar>(6) * m1.diagonal(N1)[0]);