Function Dune::XT::LA::get_permutation_matrix¶
-
template<class MatrixType, class IndexVectorType>
void Dune::XT::LA::get_permutation_matrix(const IndexVectorType &permutations, MatrixType &P)¶ Builds the permutation matrix P from a permutation index vector produced by the pivoted QR factorization.