networks[complement] - find the complement of a graph
|
Calling Sequence
|
|
complement(G)
complement(G, H)
|
|
Parameters
|
|
G
|
-
|
graph to be complemented
|
H
|
-
|
complement of G taken with respect to H
|
|
|
|
|
Description
|
|
•
|
The complement of a graph is computed and returned as a new graph. If one argument is used, then the complement is relative to the complete graph on the same number of vertices. If a second argument is given then the complement is relative to the given graph.
|
•
|
This routine is normally loaded via the command with(networks) but can also be referenced using the full name networks[complement](...).
|
|
|
Download Help Document
Was this information helpful?