This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / sparse / csgraph / _reordering / _reverse_cuthill_mckee

fused_cython_function

scipy.sparse.csgraph._reordering:_reverse_cuthill_mckee

Signature

def _reverse_cuthill_mckee(ind, ptr, num_rows)

Summary

Reverse Cuthill-McKee ordering of a sparse symmetric CSR or CSC matrix. We follow the original Cuthill-McKee paper and always start the routine at a node of lowest degree for each connected component.

Aliases

  • scipy.sparse.csgraph._reordering._reverse_cuthill_mckee