Function modcholesky::utils::index_to_permutation_mat[][src]

pub fn index_to_permutation_mat(idxs: &[usize]) -> Array2<f64>

Returns the permutation matrix for a vector of permuted indices