(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 a specified graph. The output is a list L. Each element of L 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.
C5 ≔ CycleGraph⁡5
C5≔Graph 1: an undirected unweighted graph with 5 vertices and 5 edge(s)
f ≔ CharacteristicPolynomial⁡C5,x
Download Help Document
What kind of issue would you like to report? (Optional)