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