Function modcholesky::utils::swap_columns

source ยท
pub fn swap_columns<T>(mat: &mut Array2<T>, idx1: usize, idx2: usize)
where OwnedRepr<T>: Data,
Expand description

Swaps columns idx1 and idx2 of matrix mat