networks(deprecated)/charpoly - 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)/charpoly

networks

  

charpoly

  

characteristic polynomial of an undirected graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

charpoly(G, x)

Parameters

G

-

undirected graph or network

x

-

variable in characteristic poly

Description

• 

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

• 

This routine computes the characteristic polynomial of the adjacency matrix of G expressed as a polynomial in x.

• 

As part of the networks package it is normally loaded via with(networks) but the full name of networks['charpoly'](...) can also be used.

Examples

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

withnetworks:

charpolycomplete4,x

x46x28x3

(1)

charpolycomplete2,3,x

x56x3

(2)

solve

0,0,0,6,6

(3)

See Also

GraphTheory

GraphTheory[CharacteristicPolynomial]

networks(deprecated)[adjacency]

with