Lines Matching full:upper
32 up = mat.template triangularView<Upper>();
35 up_sym_d = mat_d.template selfadjointView<Upper>();
39 VERIFY_IS_APPROX(up, DenseMatrix(mat_d.template triangularView<Upper>()));
68 res = mat.template selfadjointView<Upper>().twistedBy(p_null);
70 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full");
77 res = up.template selfadjointView<Upper>().twistedBy(p_null);
79 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full");
86 res = mat.template selfadjointView<Upper>();
88 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full");
94 res = up.template selfadjointView<Upper>();
96 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full");
103 res.template selfadjointView<Upper>() = mat.template selfadjointView<Upper>();
104 res_d = up_sym_d.template triangularView<Upper>();
105 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to upper");
107 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>();
109 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to lower");
111 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>();
112 res_d = lo_sym_d.template triangularView<Upper>();
113 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to upper");
121 res.template selfadjointView<Upper>() = mat.template selfadjointView<Upper>().twistedBy(p);
122 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Upper>();
123 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to upper");
125 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>().twistedBy(p);
126 res_d = ((p * lo_sym_d) * p.inverse()).eval().template triangularView<Upper>();
127 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to upper");
133 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>().twistedBy(p);
135 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to lower");
138 res.template selfadjointView<Upper>() = up.template selfadjointView<Upper>().twistedBy(p);
139 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Upper>();
140 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to upper");
142 res.template selfadjointView<Upper>() = lo.template selfadjointView<Lower>().twistedBy(p);
143 res_d = ((p * lo_sym_d) * p.inverse()).eval().template triangularView<Upper>();
144 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to upper");
150 res.template selfadjointView<Lower>() = up.template selfadjointView<Upper>().twistedBy(p);
152 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to lower");
155 res = mat.template selfadjointView<Upper>().twistedBy(p);
157 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to full");
163 res = up.template selfadjointView<Upper>().twistedBy(p);
165 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to full");