NLA-lib Explorer

NLAlib.isLU_luLower_luUpper_of_forall_eq_zero

Library · theorem

Elimination computes the LU factorization when every zero pivot has zeros below it. This covers singular matrices; NLAlib.isLU_luLower_luUpper is the case of nonzero pivots.

NLAlib.isLU_luLower_luUpper_of_forall_eq_zero.{u_1} {K : Type u_1} [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) :
  IsLU A (luLower A) (luUpper A)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.LUGeneral.