NLAlib.isLeastSquaresSolution_iff_mulVec_eq_rangeProjector_mulVec
Library ยท theorem
\mathbf{x} is a least-squares solution exactly when \mathbf{A}\mathbf{x} is the projection of \mathbf{b} onto the column space of \mathbf{A}: \mathbf{A}\mathbf{x} = \mathbf{P}_{\mathbf{A}}\mathbf{b}.
NLAlib.isLeastSquaresSolution_iff_mulVec_eq_rangeProjector_mulVec.{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 *แตฅ x = rangeProjector A *แตฅ bImport NLAlib.Matrix.Pseudoinverse.LeastSquares.