NLAlib.isLeastSquaresSolution_iff_conjTranspose_mulVec_sub_eq_zero
Library · theorem
\mathbf{x} is a least-squares solution exactly when the residual is orthogonal to the column space: \mathbf{A}^{\mathsf{H}}(\mathbf{b} - \mathbf{A}\mathbf{x}) = \mathbf{0}.
NLAlib.isLeastSquaresSolution_iff_conjTranspose_mulVec_sub_eq_zero.{u_1, u_3, u_4} {𝕜 : Type u_1}
[RCLike 𝕜] {m : Type u_3} {n : Type u_4} [Fintype m] [Fintype n] {A : Matrix m n 𝕜} {b : m → 𝕜}
{x : n → 𝕜} : IsLeastSquaresSolution A b x ↔ Aᴴ *ᵥ (b - A *ᵥ x) = 0Import NLAlib.Matrix.Pseudoinverse.LeastSquares.