NLA-lib Explorer

NLAlib.exists_isLeastSquaresSolution

Library ยท theorem

A least-squares solution exists.

NLAlib.exists_isLeastSquaresSolution.{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

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.LeastSquares.