networks(deprecated)/degreeseq - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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.

> 

with⁡networks:

> 

G≔complete⁡4:

> 

degreeseq⁡G

3,3,3,3

(1)
> 

G≔random⁡5:

> 

ends⁡G

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

(2)
> 

degreeseq⁡G

1,1,2,3,3

(3)

See Also

GraphTheory

GraphTheory[DegreeSequence]

networks(deprecated)[maxdegree]

networks(deprecated)[mindegree]

networks(deprecated)[vdegree]

with