networks[cube] - creates a hypercube
|
Calling Sequence
|
|
G:=cube(n)
G:=cube({1, 2, 3, 4})
|
|
Parameters
|
|
n
|
-
|
positive integer
|
G
|
-
|
is returned as the nth hypercube.
|
|
|
|
|
Description
|
|
•
|
If an integer n is given then the graph commonly known as 2 to the power n is generated.
|
•
|
The second calling sequence allows for specific names to be used for the vertices. For a definition, see hypercube.
|
|
|
Download Help Document
Was this information helpful?