.. _sphx_glr_api_gallery_linalg_lu:
LU decomposition
----------------
Elimination as the *Nine Chapters* did it, and Gauss's elimination
recorded as a partial-pivoted LU decomposition for solving systems and
computing determinants from a single factorization.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/lu/images/thumb/sphx_glr_plot_01_nine_chapters_elimination_thumb.png
:alt:
:doc:`/api/gallery/linalg/lu/plot_01_nine_chapters_elimination`
.. raw:: html
Elimination in the Nine Chapters: the three grades of grain
.. raw:: html
.. only:: html
.. image:: /api/gallery/linalg/lu/images/thumb/sphx_glr_plot_02_lu_decomposition_thumb.png
:alt:
:doc:`/api/gallery/linalg/lu/plot_02_lu_decomposition`
.. raw:: html
LU decomposition with partial pivoting
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/linalg/lu/plot_01_nine_chapters_elimination
/api/gallery/linalg/lu/plot_02_lu_decomposition