NLA-lib Explorer

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.mulVec

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.LeastSquares.