extendr_api::prelude::sparse::linalg::amd

Function order_maybe_unsorted_req

pub fn order_maybe_unsorted_req<I>(
    n: usize,
    nnz_upper: usize,
) -> Result<StackReq, SizeOverflow>
where I: Index,
Expand description

Computes the size and alignment of required workspace for computing the AMD ordering of an unsorted matrix.