networks(deprecated)/degreeseq - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


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

networks

  

degreeseq

  

find the degree sequence of a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

degreeseq(G)

Parameters

G

-

graph or network

Description

• 

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

• 

This routine returns a list of vertex degrees sorted into ascending order.

• 

This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[degreeseq](...).

Examples

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

withnetworks:

Gcomplete4:

degreeseqG

3,3,3,3

(1)

Grandom5:

endsG

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

(2)

degreeseqG

1,1,2,3,3

(3)

See Also

GraphTheory

GraphTheory[DegreeSequence]

networks(deprecated)[maxdegree]

networks(deprecated)[mindegree]

networks(deprecated)[vdegree]

with