NLA-lib Explorer

NLAlib.HasOrthonormalCols.isLeastSquaresSolution_mul_iff

Library ยท theorem

Multiplying the system by a matrix \mathbf{Q} with orthonormal columns does not change its least-squares solutions: those of \mathbf{Q}\mathbf{A}\mathbf{x} \approx \mathbf{Q}\mathbf{b} are those of \mathbf{A}\mathbf{x} \approx \mathbf{b}.

NLAlib.HasOrthonormalCols.isLeastSquaresSolution_mul_iff.{u_1, u_2, u_3, u_4} {๐•œ : Type u_1}
  [RCLike ๐•œ] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n]
  [DecidableEq m] {Q : Matrix l m ๐•œ} (hQ : HasOrthonormalCols Q) {A : Matrix m n ๐•œ} {b : m โ†’ ๐•œ}
  {x : n โ†’ ๐•œ} : IsLeastSquaresSolution (Q * A) (Q *แตฅ b) x โ†” IsLeastSquaresSolution A b x

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.LeastSquares.