extendr_api::prelude::modules::lu::partial_pivoting::inverse

Function invert_req

pub fn invert_req<I, E>(
    nrows: usize,
    ncols: usize,
    parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>
where I: Index, E: Entity,
Expand description

Computes the size and alignment of required workspace for computing the inverse of a matrix out of place, given its partial pivoting LU decomposition.