Lines Matching refs:res
27 OtherSparseMatrixType res; in sparse_permutations() local
47 res = mat*p; in sparse_permutations()
49 VERIFY(res.isApprox(res_d) && "mat*p"); in sparse_permutations()
51 res = p*mat; in sparse_permutations()
53 VERIFY(res.isApprox(res_d) && "p*mat"); in sparse_permutations()
55 res = mat*p.inverse(); in sparse_permutations()
57 VERIFY(res.isApprox(res_d) && "mat*inv(p)"); in sparse_permutations()
59 res = p.inverse()*mat; in sparse_permutations()
61 VERIFY(res.isApprox(res_d) && "inv(p)*mat"); in sparse_permutations()
63 res = mat.twistedBy(p); in sparse_permutations()
65 VERIFY(res.isApprox(res_d) && "p*mat*inv(p)"); in sparse_permutations()
68 res = mat.template selfadjointView<Upper>().twistedBy(p_null); in sparse_permutations()
70 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full"); in sparse_permutations()
72 res = mat.template selfadjointView<Lower>().twistedBy(p_null); in sparse_permutations()
74 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to full"); in sparse_permutations()
77 res = up.template selfadjointView<Upper>().twistedBy(p_null); in sparse_permutations()
79 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full"); in sparse_permutations()
81 res = lo.template selfadjointView<Lower>().twistedBy(p_null); in sparse_permutations()
83 VERIFY(res.isApprox(res_d) && "lower selfadjoint full"); in sparse_permutations()
86 res = mat.template selfadjointView<Upper>(); in sparse_permutations()
88 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full"); in sparse_permutations()
90 res = mat.template selfadjointView<Lower>(); in sparse_permutations()
92 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to full"); in sparse_permutations()
94 res = up.template selfadjointView<Upper>(); in sparse_permutations()
96 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full"); in sparse_permutations()
98 res = lo.template selfadjointView<Lower>(); in sparse_permutations()
100 VERIFY(res.isApprox(res_d) && "lower selfadjoint full"); in sparse_permutations()
103 res.template selfadjointView<Upper>() = mat.template selfadjointView<Upper>(); in sparse_permutations()
105 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to upper"); in sparse_permutations()
107 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>(); in sparse_permutations()
109 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to lower"); in sparse_permutations()
111 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>(); in sparse_permutations()
113 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to upper"); in sparse_permutations()
115 res.template selfadjointView<Lower>() = mat.template selfadjointView<Lower>(); in sparse_permutations()
117 VERIFY(res.isApprox(res_d) && "full selfadjoint lower to lower"); in sparse_permutations()
121 res.template selfadjointView<Upper>() = mat.template selfadjointView<Upper>().twistedBy(p); in sparse_permutations()
123 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to upper"); in sparse_permutations()
125 res.template selfadjointView<Upper>() = mat.template selfadjointView<Lower>().twistedBy(p); in sparse_permutations()
127 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to upper"); in sparse_permutations()
129 res.template selfadjointView<Lower>() = mat.template selfadjointView<Lower>().twistedBy(p); in sparse_permutations()
131 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to lower"); in sparse_permutations()
133 res.template selfadjointView<Lower>() = mat.template selfadjointView<Upper>().twistedBy(p); in sparse_permutations()
135 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to lower"); in sparse_permutations()
138 res.template selfadjointView<Upper>() = up.template selfadjointView<Upper>().twistedBy(p); in sparse_permutations()
140 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to upper"); in sparse_permutations()
142 res.template selfadjointView<Upper>() = lo.template selfadjointView<Lower>().twistedBy(p); in sparse_permutations()
144 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to upper"); in sparse_permutations()
146 res.template selfadjointView<Lower>() = lo.template selfadjointView<Lower>().twistedBy(p); in sparse_permutations()
148 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to lower"); in sparse_permutations()
150 res.template selfadjointView<Lower>() = up.template selfadjointView<Upper>().twistedBy(p); in sparse_permutations()
152 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to lower"); in sparse_permutations()
155 res = mat.template selfadjointView<Upper>().twistedBy(p); in sparse_permutations()
157 VERIFY(res.isApprox(res_d) && "full selfadjoint upper twisted to full"); in sparse_permutations()
159 res = mat.template selfadjointView<Lower>().twistedBy(p); in sparse_permutations()
161 VERIFY(res.isApprox(res_d) && "full selfadjoint lower twisted to full"); in sparse_permutations()
163 res = up.template selfadjointView<Upper>().twistedBy(p); in sparse_permutations()
165 VERIFY(res.isApprox(res_d) && "upper selfadjoint twisted to full"); in sparse_permutations()
167 res = lo.template selfadjointView<Lower>().twistedBy(p); in sparse_permutations()
169 VERIFY(res.isApprox(res_d) && "lower selfadjoint twisted to full"); in sparse_permutations()