NLAlib.isLeastSquaresSolution_iff_eq_pinv_mulVec
Library ยท theorem
With full column rank the pseudoinverse solution is the only least-squares solution: \mathbf{x} is one exactly when \mathbf{x} = \mathbf{A}^{+}\mathbf{b}.
NLAlib.isLeastSquaresSolution_iff_eq_pinv_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 ๐}
(hA : Function.Injective A.mulVec) {b : m โ ๐} {x : n โ ๐} :
IsLeastSquaresSolution A b x โ x = pinv A *แตฅ bImport NLAlib.Matrix.Pseudoinverse.LeastSquares.