GraphTheory[NumberOfEdges]
GraphTheory[NumberOfVertices]
|
Calling Sequence
|
|
NumberOfEdges(G)
NumberOfVertices(G)
|
|
Description
|
|
•
|
The NumberOfEdges command returns the number of edges (or arcs) in G.
|
•
|
The NumberOfVertices command returns the number of vertices in G.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?