Home | History | Annotate | Download | only in test

Lines Matching refs:Upper

33   MatrixType m1up = m1.template triangularView<Upper>();
34 MatrixType m2up = m2.template triangularView<Upper>();
43 // VERIFY_IS_APPROX(m1up.transpose() * m2, m1.upper().transpose().lower() * m2);
48 r1.template triangularView<Upper>() += m1;
54 m1.template triangularView<Upper>() = m2.transpose() + m2;
72 m3 = m1.template triangularView<Upper>();
75 VERIFY(v2.isApprox(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(v2)), largerEps));
76 m3 = m1.template triangularView<Upper>();
77 VERIFY(v2.isApprox(m3 * (m1.template triangularView<Upper>().solve(v2)), largerEps));
82 m3 = m1.template triangularView<Upper>();
85 VERIFY(m2.isApprox(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(m2)), largerEps));
86 m3 = m1.template triangularView<Upper>();
87 VERIFY(m2.isApprox(m3 * (m1.template triangularView<Upper>().solve(m2)), largerEps));
93 m1.transpose().template triangularView<Eigen::Upper>().solveInPlace(trm4);
97 m3 = m1.template triangularView<Upper>();
100 VERIFY_IS_APPROX(m4 * m1.template triangularView<Eigen::Upper>(), m3);
106 // VERIFY(( m1.template triangularView<Upper>()
107 // * m2.template triangularView<Upper>()).isUpperTriangular());
112 m2.template triangularView<Upper>().swap(m1);
114 m3.template triangularView<Upper>().setOnes();
118 m3 = m1.template triangularView<Upper>();
121 VERIFY_IS_APPROX(m1.template triangularView<Upper>() * m5, m3*m5);
122 VERIFY_IS_APPROX(m6*m1.template triangularView<Upper>(), m6*m3);
124 m1up = m1.template triangularView<Upper>();
125 VERIFY_IS_APPROX(m1.template selfadjointView<Upper>().template triangularView<Upper>().toDenseMatrix(), m1up);
126 VERIFY_IS_APPROX(m1up.template selfadjointView<Upper>().template triangularView<Upper>().toDenseMatrix(), m1up);
127 VERIFY_IS_APPROX(m1.template selfadjointView<Upper>().template triangularView<Lower>().toDenseMatrix(), m1up.adjoint());
128 VERIFY_IS_APPROX(m1up.template selfadjointView<Upper>().template triangularView<Lower>().toDenseMatrix(), m1up.adjoint());
130 VERIFY_IS_APPROX(m1.template selfadjointView<Upper>().diagonal(), m1.diagonal());
152 MatrixType m1up = m1.template triangularView<Upper>();
153 MatrixType m2up = m2.template triangularView<Upper>();
165 r1.template triangularView<Upper>() += m1;
171 m1.template triangularView<Upper>() = 3 * m2;
173 VERIFY_IS_APPROX(m3.template triangularView<Upper>().toDenseMatrix(), m1);
189 m2 = m1.template triangularView<Upper>();
212 m2.template triangularView<Upper>().swap(m1);
214 m3.template triangularView<Upper>().setOnes();