extendr_api::prelude::perm

Function permute_rows_in_place_req

pub fn permute_rows_in_place_req<I, E>(
    nrows: usize,
    ncols: usize,
) -> Result<StackReq, SizeOverflow>
where I: Index, E: Entity,
Expand description

Computes the size and alignment of required workspace for applying a row permutation to a matrix in place.