normalized_laplacian_spectrum#
- normalized_laplacian_spectrum(G, weight='weight')[source]#
Return eigenvalues of the normalized Laplacian of G
- Parameters:
- Ggraph
A NetworkX graph
- weightstring or None, optional (default=’weight’)
The edge data key used to compute each value in the matrix. If None, then each edge has weight 1.
- Returns:
- evalsNumPy array
Eigenvalues
See also
normalized_laplacian_matrix
Notes
For MultiGraph/MultiDiGraph, the edges weights are summed. See to_numpy_array for other options.