NLA-lib Explorer

NLAlib.isLeastSquaresSolution_of_mulVec_eq

Library ยท theorem

An exact solution is a least-squares solution: if \mathbf{A}\mathbf{x} = \mathbf{b} then \mathbf{x} is one.

NLAlib.isLeastSquaresSolution_of_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 โ†’ ๐•œ}
  (h : A *แตฅ x = b) : IsLeastSquaresSolution A b x

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.LeastSquares.