GraphTheory[SpecialGraphs][GridGraph]
GraphTheory[SpecialGraphs][TorusGridGraph]
|
Calling Sequence
|
|
GridGraph(m,n)
TorusGridGraph(m,n)
|
|
Description
|
|
•
|
The GridGraph(m,n) command creates the m by n grid graph on m*n vertices.
|
•
|
The TorusGridGraph(m,n) creates the m by n torus grid graph on m*n vertices.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
>
|
|
| (3) |
>
|
|
|
|
Download Help Document
Was this information helpful?