networks[chrompoly] - chromatic polynomial of an undirected graph
|
Calling Sequence
|
|
chrompoly(G, lambda)
|
|
Parameters
|
|
G
|
-
|
undirected graph or network
|
lambda
|
-
|
variable in chromatic poly (usually number of colors)
|
|
|
|
|
Description
|
|
•
|
This routine returns the chromatic polynomial of the graph G as a polynomial in lambda. The value of this polynomial gives the number of proper vertex-colorings of G using lambda colors.
|
•
|
The procedure is normally loaded via the command with(networks) but can also be referenced using the full name networks[chrompoly](...).
|
|
|
Download Help Document
Was this information helpful?