Home
last modified time | relevance | path

Searched refs:mat_d (Results 1 – 1 of 1) sorted by relevance

/external/eigen/test/
Dsparse_permutations.cpp28 DenseMatrix mat_d = DenseMatrix::Zero(rows, cols), up_sym_d, lo_sym_d, res_d; in sparse_permutations() local
30 initSparse<Scalar>(density, mat_d, mat, 0); in sparse_permutations()
35 up_sym_d = mat_d.template selfadjointView<Upper>(); in sparse_permutations()
36 lo_sym_d = mat_d.template selfadjointView<Lower>(); in sparse_permutations()
38 VERIFY_IS_APPROX(mat, mat_d); in sparse_permutations()
39 VERIFY_IS_APPROX(up, DenseMatrix(mat_d.template triangularView<Upper>())); in sparse_permutations()
40 VERIFY_IS_APPROX(lo, DenseMatrix(mat_d.template triangularView<Lower>())); in sparse_permutations()
48 res_d = mat_d*p; in sparse_permutations()
52 res_d = p*mat_d; in sparse_permutations()
60 res_d = p.inverse()*mat_d; in sparse_permutations()
[all …]