NLAlib.IsQR.isLeastSquaresSolution_of_mulVec_eq
Library · theorem
A solution of \mathbf{R}\mathbf{x} = \mathbf{Q}^{\mathsf{H}}\mathbf{b} solves the least-squares problem \min_{\mathbf{x}} \|\mathbf{A}\mathbf{x} - \mathbf{b}\|, with no rank assumption.
NLAlib.IsQR.isLeastSquaresSolution_of_mulVec_eq.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_3} {n : Type u_4} [Fintype m] [Fintype n] [LinearOrder n] [DecidableEq n]
{A Q : Matrix m n 𝕜} {R : Matrix n n 𝕜} (h : IsQR A Q R) {b : m → 𝕜} {x : n → 𝕜}
(hx : R *ᵥ x = Qᴴ *ᵥ b) : IsLeastSquaresSolution A b xImport NLAlib.Matrix.Factorizations.QR.