Expand description
The LU factorisation P A = L U (Doolittle form, unit lower triangular L).
Gaussian elimination secretly computes L (the multipliers) and U (the reduced matrix).
Keeping them lets you solve A x = b for any number of right-hand sides at O(n²) each after
one O(n³) factorisation, and gives the determinant as the product of the pivots.
See the book entry Gaussian elimination and LU factorisation.
Structs§
- Lu
P A = L Uwith the permutation stored as a row order.
Functions§
- lu
- Factorises a square matrix with partial pivoting.