aryagraph.algorithms.matrix.adjacency_spectrum#

aryagraph.algorithms.matrix.adjacency_spectrum(g: Any, weight: str | Callable[[Hashable, Hashable, dict], float] | None = 'weight') → ndarray[source]#

Eigenvalues of the adjacency matrix (real & sorted for undirected graphs, complex otherwise).