Cuthill–McKee algorithm: Difference between revisions

Content deleted Content added
m Added link to open-source RCM routine in the Python SciPy package.
m Algorithm: Graph (mathematics) is now a disambiguation link; please fix., replaced: graphgraph{{dn|{{subst:DATE}}}} using AWB
Line 16:
==Algorithm==
 
Given a symmetric <math>n\times n</math> matrix we visualize the matrix as the [[adjacency matrix]] of a [[graphGraph (mathematics)|graph]]{{dn|date=January 2016}}. The Cuthill–McKee algorithm is then a relabeling of the [[vertex (graph theory)|vertices]] of the graph to reduce the bandwidth of the adjacency matrix.
 
The algorithm produces an ordered [[n-tuple|''n''-tuple]] ''R'' of vertices which is the new order of the vertices.