Function extendr_api::prelude::perm::permute_rows_in_place
pub fn permute_rows_in_place<I, E>(
matrix: MatMut<'_, E>,
perm_indices: PermRef<'_, I>,
stack: PodStack<'_>,
)where
I: Index,
E: ComplexField,
Expand description
Computes a permutation of the rows of the matrix using the given permutation, and stores the result in the same matrix.
§Panics
- Panics if the size of the permutation doesn’t match the number of rows of the matrix.