Linear algebra¶
Graph Matrix¶
Adjacency matrix and incidence matrix of graphs.

Returns adjacency matrix of G. 

Returns incidence matrix of G. 
Laplacian Matrix¶
Laplacian matrix of graphs.

Returns the Laplacian matrix of G. 

Returns the normalized Laplacian matrix of G. 

Returns the directed Laplacian matrix of G. 
Bethe Hessian Matrix¶
Bethe Hessian or deformed Laplacian matrix of graphs.

Returns the Bethe Hessian matrix of G. 
Algebraic Connectivity¶
Algebraic connectivity and Fiedler vectors of undirected graphs.

Returns the algebraic connectivity of an undirected graph. 

Returns the Fiedler vector of a connected undirected graph. 

Compute the spectral_ordering of a graph. 
Attribute Matrices¶
Functions for constructing matrixlike objects from graph attributes.

Returns a NumPy matrix using attributes from G. 

Returns a SciPy sparse matrix using attributes from G. 
Modularity Matrices¶
Modularity matrix of graphs.

Returns the modularity matrix of G. 

Returns the directed modularity matrix of G. 
Spectrum¶
Eigenvalue spectrum of graphs.

Returns eigenvalues of the adjacency matrix of G. 

Returns eigenvalues of the Laplacian of G 

Returns eigenvalues of the Bethe Hessian matrix of G. 

Return eigenvalues of the normalized Laplacian of G 
Returns eigenvalues of the modularity matrix of G. 