.. _sphx_glr_api_gallery_linalg_eigen:
Eigenvalue algorithms
---------------------
Cauchy's spectral theorem for symmetric matrices, and hand-rolled power
iteration and inverse iteration -- two routes to a single eigenpair when
the full spectrum isn't needed.
Also: Gershgorin discs, Lanczos iteration for a few eigenpairs of a large
sparse matrix, and the QR algorithm converging to the Schur form.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/eigen/images/thumb/sphx_glr_plot_01_cauchy_spectral_theorem_thumb.png
:alt:
:doc:`/api/gallery/linalg/eigen/plot_01_cauchy_spectral_theorem`
.. raw:: html
Cauchy's spectral theorem: principal axes of a quadratic form
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/eigen/images/thumb/sphx_glr_plot_02_power_and_inverse_iteration_thumb.png
:alt:
:doc:`/api/gallery/linalg/eigen/plot_02_power_and_inverse_iteration`
.. raw:: html
Von Mises power iteration and Wielandt inverse iteration
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/eigen/images/thumb/sphx_glr_plot_03_gershgorin_discs_thumb.png
:alt:
:doc:`/api/gallery/linalg/eigen/plot_03_gershgorin_discs`
.. raw:: html
Gershgorin discs
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/eigen/images/thumb/sphx_glr_plot_04_lanczos_thumb.png
:alt:
:doc:`/api/gallery/linalg/eigen/plot_04_lanczos`
.. raw:: html
Lanczos: a few eigenvalues of a very large matrix
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/eigen/images/thumb/sphx_glr_plot_05_francis_qr_algorithm_thumb.png
:alt:
:doc:`/api/gallery/linalg/eigen/plot_05_francis_qr_algorithm`
.. raw:: html
The QR algorithm and the Schur form
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/linalg/eigen/plot_01_cauchy_spectral_theorem
/api/gallery/linalg/eigen/plot_02_power_and_inverse_iteration
/api/gallery/linalg/eigen/plot_03_gershgorin_discs
/api/gallery/linalg/eigen/plot_04_lanczos
/api/gallery/linalg/eigen/plot_05_francis_qr_algorithm