{ } Raw JSON

bundles / scipy 1.17.1 / 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