Searched refs:mat_d (Results 1 – 1 of 1) sorted by relevance
/external/eigen/test/ |
D | sparse_permutations.cpp | 60 DenseMatrix mat_d = DenseMatrix::Zero(rows, cols), up_sym_d, lo_sym_d, res_d; in sparse_permutations() local 62 initSparse<Scalar>(density, mat_d, mat, 0); in sparse_permutations() 67 up_sym_d = mat_d.template selfadjointView<Upper>(); in sparse_permutations() 68 lo_sym_d = mat_d.template selfadjointView<Lower>(); in sparse_permutations() 70 VERIFY_IS_APPROX(mat, mat_d); in sparse_permutations() 71 VERIFY_IS_APPROX(up, DenseMatrix(mat_d.template triangularView<Upper>())); in sparse_permutations() 72 VERIFY_IS_APPROX(lo, DenseMatrix(mat_d.template triangularView<Lower>())); in sparse_permutations() 83 res_d = mat_d*p; in sparse_permutations() 89 res_d = p*mat_d; in sparse_permutations() 101 res_d = p.inverse()*mat_d; in sparse_permutations() [all …]
|