Lines Matching refs:m3
25 m3(rows, cols),
61 m3 = m2.transpose() * m2;
62 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1);
67 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1);
69 VERIFY_IS_APPROX(m3.template part<Diagonal>(), m3.diagonal().asDiagonal());
77 m3 = m1.template part<Eigen::LowerTriangular>();
78 VERIFY(m3.template marked<Eigen::LowerTriangular>().solveTriangular(m3).cwise().abs().isIdentity(test_precision<RealScalar>()));
79 VERIFY(m3.transpose().template marked<Eigen::UpperTriangular>()
80 .solveTriangular(m3.transpose()).cwise().abs().isIdentity(test_precision<RealScalar>()));
82 m4 = m3;
83 m3.transpose().template marked<Eigen::UpperTriangular>().solveTriangularInPlace(trm4);
86 m3 = m1.template part<Eigen::UpperTriangular>();
87 VERIFY(m3.template marked<Eigen::UpperTriangular>().solveTriangular(m3).cwise().abs().isIdentity(test_precision<RealScalar>()));
88 VERIFY(m3.transpose().template marked<Eigen::LowerTriangular>()
89 .solveTriangular(m3.transpose()).cwise().abs().isIdentity(test_precision<RealScalar>()));
91 m4 = m3;
92 m3.transpose().template marked<Eigen::LowerTriangular>().solveTriangularInPlace(trm4);
95 m3 = m1.template part<Eigen::UpperTriangular>();
96 VERIFY(m2.isApprox(m3 * (m3.template marked<Eigen::UpperTriangular>().solveTriangular(m2)), largerEps));
97 m3 = m1.template part<Eigen::LowerTriangular>();
98 VERIFY(m2.isApprox(m3 * (m3.template marked<Eigen::LowerTriangular>().solveTriangular(m2)), largerEps));
106 m3.setZero();
107 m3.template part<Eigen::UpperTriangular>().setOnes();
108 VERIFY_IS_APPROX(m2,m3);
132 Matrix2i m3 = Matrix2i::Zero();
133 m3.part<SelfAdjoint>() = m.part<LowerTriangular>();
137 VERIFY(m3 == ref3);