networks(deprecated)/cycle - Help

Online Help

All Products    Maple    MapleSim


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

networks[cycle] - creates a cycle

Calling Sequence

cycle(n)

Parameters

n

-

the number of vertices

Description

• 

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

• 

This procedure returns a graph that is an undirected cycle with n vertices and edges.

• 

This routine is normally loaded by using the command with(networks), but it may also be referenced by using the full name networks[cycle](...).

Examples

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

withnetworks:

G:=cycle6:

endsG

1,2,1,6,2,3,3,4,4,5,5,6

(1)

See Also

GraphTheory, GraphTheory[CycleGraph], networks(deprecated)[addedge], networks(deprecated)[addvertex], with


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam