networks(deprecated)/cube - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : networks(deprecated)/cube

networks

  

cube

  

creates a hypercube

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

G:=cube(n)

G:=cube({1, 2, 3, 4})

Parameters

n

-

positive integer

G

-

is returned as the nth hypercube.

Description

• 

Important: The networks package has been deprecated.  Use the superseding command GraphTheory[SpecialGraphs][HypercubeGraph] instead.

• 

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.

Examples

Important: The networks package has been deprecated.  Use the superseding command GraphTheory[SpecialGraphs][HypercubeGraph] instead.

withnetworks:

Gcube1:

Gcube2:

Gcube3:

drawConcentric0,1,3,2,4,5,7,6,G

See Also

GraphTheory

GraphTheory[SpecialGraphs][HypercubeGraph]

networks(deprecated)[octahedron]

with