[]Function argmin::prelude::modcholesky::utils::index_to_permutation_mat

pub fn index_to_permutation_mat(
    idxs: &[usize]
) -> ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>

Returns the permutation matrix for a vector of permuted indices