NLAlib.IsLeastSquaresSolution.sub_mulVec_eq
Library ยท theorem
The least-squares residual is the projection of \mathbf{b} onto the orthogonal complement of the column space: \mathbf{b} - \mathbf{A}\mathbf{x} = (\mathbf{I} - \mathbf{P}_{\mathbf{A}})\mathbf{b}.
NLAlib.IsLeastSquaresSolution.sub_mulVec_eq.{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 โ ๐} [DecidableEq m]
(h : IsLeastSquaresSolution A b x) : b - A *แตฅ x = (1 - rangeProjector A) *แตฅ bImport NLAlib.Matrix.Pseudoinverse.LeastSquares.