GraphTheory
GraphSpectrum
compute spectrum of eigenvalues of a graph
Calling Sequence
Parameters
Options
Description
Examples
GraphSpectrum(G, opt)
G
-
graph
opt
(optional) the symbol exact or an equation of the form exact=true or false
exact=true or false
If exact or exact=true is specified, the eigenvalues are returned as exact expressions. If exact=false, the eigenvalues are returned as floating-point expressions. The default is false.
The GraphSpectrum command returns the spectrum of the eigenvalues of the adjacency matrix of a specified graph. The output is a list . Each element of is a list of size 2, where the first element is an eigenvalue and the second element is its multiplicity.
If argument exact or exact=true is provided, the eigenvalues are returned as exact expressions. Otherwise the eigenvalues are returned as floating-point expressions.
See Also
AdjacencyMatrix
CharacteristicPolynomial
IsIntegerGraph
SeidelSpectrum
Download Help Document