NLAlib.existsUnique_isLeastSquaresSolution_iff
Library ยท theorem
Uniqueness: the least-squares problem has a unique solution, for one right-hand side or equivalently for all, exactly when \mathbf{A} has full column rank (\mathbf{x} \mapsto \mathbf{A}\mathbf{x} injective).
NLAlib.existsUnique_isLeastSquaresSolution_iff.{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, IsLeastSquaresSolution A b x) โ Function.Injective A.mulVecImport NLAlib.Matrix.Pseudoinverse.LeastSquares.