Lines Matching refs:Lower
65 lo = mat.template triangularView<Lower>();
68 lo_sym_d = mat_d.template selfadjointView<Lower>();
72 VERIFY_IS_APPROX(lo, DenseMatrix(mat_d.template triangularView<Lower>()));
115 VERIFY( is_sorted( res = mat.template selfadjointView<Lower>().twistedBy(p_null) ));
117 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to full");
124 VERIFY( is_sorted( res = lo.template selfadjointView<Lower>().twistedBy(p_null) ));
126 VERIFY(res.isApprox(res_d) && "lower selfadjoint full");
133 VERIFY( is_sorted( res = mat.template selfadjointView<Lower>() ));
135 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to full");
141 VERIFY( is_sorted( res = lo.template selfadjointView<Lower>() ));
143 VERIFY(res.isApprox(res_d) && "lower selfadjoint full");
150 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>();
151 res_d = up_sym_d.template triangularView<Lower>();
152 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to lower");
154 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>();
156 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to upper");
158 res.template selfadjointView<Lower>() = mat.template selfadjointView<Lower>();
159 res_d = lo_sym_d.template triangularView<Lower>();
160 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to lower");
168 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>().twistedBy(p);
170 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to upper");
172 res.template selfadjointView<Lower>() = mat.template selfadjointView<Lower>().twistedBy(p);
173 res_d = ((p * lo_sym_d) * p.inverse()).eval().template triangularView<Lower>();
174 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to lower");
176 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>().twistedBy(p);
177 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Lower>();
178 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to lower");
185 res.template selfadjointView<Upper>() = lo.template selfadjointView<Lower>().twistedBy(p);
187 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to upper");
189 res.template selfadjointView<Lower>() = lo.template selfadjointView<Lower>().twistedBy(p);
190 res_d = ((p * lo_sym_d) * p.inverse()).eval().template triangularView<Lower>();
191 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to lower");
193 res.template selfadjointView<Lower>() = up.template selfadjointView<Upper>().twistedBy(p);
194 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Lower>();
195 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to lower");
202 VERIFY( is_sorted( res = mat.template selfadjointView<Lower>().twistedBy(p) ));
204 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to full");
210 VERIFY( is_sorted( res = lo.template selfadjointView<Lower>().twistedBy(p) ));
212 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to full");