NLA-lib Explorer

NLAlib.eq_luLower_mul_luUpper

Library · theorem

Elimination factors the matrix as soon as a zero pivot has only zeros below it: \mathbf{A} = \mathbf{L}\mathbf{U} for the factors luLower A and luUpper A.

NLAlib.eq_luLower_mul_luUpper.{u_2} {K : Type u_2} [Field K] {n : ℕ} {A : Matrix (Fin n) (Fin n) K}
  (h : ∀ (j i : Fin n), j < i → gaussState A (↑j) j j = 0 → gaussState A (↑j) i j = 0) :
  A = luLower A * luUpper A

Full source on GitHub

Import NLAlib.Matrix.Factorizations.LU.