Skip to main content

structural_rank

Function structural_rank 

Source
pub fn structural_rank(
    n_rows: usize,
    n_cols: usize,
    nonzeros: &[(usize, usize)],
) -> Result<usize, ErrorsJSL>
Expand description

The structural rank of a sparsity pattern (SciPy’s structural_rank): the largest rank any matrix with this pattern can have, the size of a maximum matching between rows and columns.