Lines Matching refs:Upper
64 up = mat.template triangularView<Upper>();
67 up_sym_d = mat_d.template selfadjointView<Upper>();
71 VERIFY_IS_APPROX(up, DenseMatrix(mat_d.template triangularView<Upper>()));
111 VERIFY( is_sorted( res = mat.template selfadjointView<Upper>().twistedBy(p_null) ));
113 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full");
120 VERIFY( is_sorted( res = up.template selfadjointView<Upper>().twistedBy(p_null) ));
122 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full");
129 VERIFY( is_sorted( res = mat.template selfadjointView<Upper>() ));
131 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full");
137 VERIFY( is_sorted( res = up.template selfadjointView<Upper>() ));
139 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full");
146 res.template selfadjointView<Upper>() = mat.template selfadjointView<Upper>();
147 res_d = up_sym_d.template triangularView<Upper>();
148 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to upper");
150 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>();
152 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to lower");
154 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>();
155 res_d = lo_sym_d.template triangularView<Upper>();
156 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to upper");
164 res.template selfadjointView<Upper>() = mat.template selfadjointView<Upper>().twistedBy(p);
165 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Upper>();
166 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to upper");
168 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>().twistedBy(p);
169 res_d = ((p * lo_sym_d) * p.inverse()).eval().template triangularView<Upper>();
170 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to upper");
176 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>().twistedBy(p);
178 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to lower");
181 res.template selfadjointView<Upper>() = up.template selfadjointView<Upper>().twistedBy(p);
182 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Upper>();
183 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to upper");
185 res.template selfadjointView<Upper>() = lo.template selfadjointView<Lower>().twistedBy(p);
186 res_d = ((p * lo_sym_d) * p.inverse()).eval().template triangularView<Upper>();
187 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to upper");
193 res.template selfadjointView<Lower>() = up.template selfadjointView<Upper>().twistedBy(p);
195 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to lower");
198 VERIFY( is_sorted( res = mat.template selfadjointView<Upper>().twistedBy(p) ));
200 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to full");
206 VERIFY( is_sorted( res = up.template selfadjointView<Upper>().twistedBy(p) ));
208 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to full");