.. _linalg:


Linear algebra
**************

.. currentmodule:: networkx

Graph Matrix
------------
.. automodule:: networkx.linalg.graphmatrix
.. autosummary::
   :toctree: generated/

   adjacency_matrix
   incidence_matrix

Laplacian Matrix
----------------
.. automodule:: networkx.linalg.laplacianmatrix
.. autosummary::
   :toctree: generated/

   laplacian_matrix
   normalized_laplacian_matrix
   directed_laplacian_matrix

Spectrum
---------
.. automodule:: networkx.linalg.spectrum
.. autosummary::
   :toctree: generated/

   laplacian_spectrum
   adjacency_spectrum

Algebraic Connectivity
----------------------
.. automodule:: networkx.linalg.algebraicconnectivity
.. autosummary::
   :toctree: generated/

   algebraic_connectivity
   fiedler_vector
   spectral_ordering

Attribute Matrices
------------------

.. automodule:: networkx.linalg.attrmatrix
.. autosummary::
   :toctree: generated/

   attr_matrix
   attr_sparse_matrix
