 networks(deprecated)/cube - Maple Help

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

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

 • 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.

 > $\mathrm{with}\left(\mathrm{networks}\right):$
 > $G≔\mathrm{cube}\left(1\right):$
 > $G≔\mathrm{cube}\left(2\right):$
 > $G≔\mathrm{cube}\left(3\right):$
 > $\mathrm{draw}\left(\mathrm{Concentric}\left(\left[0,1,3,2\right],\left[4,5,7,6\right]\right),G\right)$