extendr_api::prelude::sparse::linalg::colamd

Function order_req

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

Computes the size and alignment of required workspace for computing the COLAMD ordering of a matrix.