Skip to content

sprank

builtin · libnexusinterp/corefcn/dmperm-proprietary.cc

: r = sprank (s)

Return the structural rank of the sparse matrix s.

The structural rank is the size of a maximum matching of the sparsity pattern and bounds the numeric rank from above. The argument must be sparse; otherwise an error is raised.