NLA-lib Explorer

NLAlib.rowForwardSubst_eq

Library · theorem

The forward substitution solves the triangular system: for \mathbf{R} upper triangular with nonzero diagonal, NLAlib.rowForwardSubst \mathbf{R} \mathbf{v} is \mathbf{v}^{\mathsf{T}}\mathbf{R}^{-1}.

NLAlib.rowForwardSubst_eq {d : ℕ} {R : Matrix (Fin d) (Fin d) ℂ} (hR : R.IsUpperTriangular)
  (hdiag : ∀ (i : Fin d), R i i ≠ 0) (v : Fin d → ℂ) : rowForwardSubst R v = v ᵥ* R⁻¹

Full source on GitHub

Import NLAlib.Matrix.QRIteration.FindRitzSolve.