# grinpy.invariants.residue.residue¶

grinpy.invariants.residue.residue(G)

Return the residue of G.

The residue of a graph G is the number of zeros obtained in final sequence of the Havel Hakimi process.

Parameters: G (NetworkX graph) – An undirected graph. The residue of G. int

k_residue(), havel_hakimi_process()