NetworkX

Table Of Contents

Previous topic

networkx.bipartite_random_regular_graph

Next topic

networkx.adj_matrix

Linear algebra

Spectrum

adj_matrix(G[, nodelist]) Return adjacency matrix of graph as a numpy matrix.
laplacian(G[, nodelist]) Return standard combinatorial Laplacian of G as a numpy matrix.
normalized_laplacian(G[, nodelist]) Return normalized Laplacian of G as a numpy matrix.
laplacian_spectrum(G) Return eigenvalues of the Laplacian of G
adjacency_spectrum(G) Return eigenvalues of the adjacency matrix of G