NLAlib.isLeast_totalLeastSquaresCosts_of_mulVec_eq
Library · theorem
General form: sizes are index types
Total least squares correction. A unit least Gram eigenvector with nonzero last coordinate gives an optimal data correction of rank at most one, \mathbf{D}=-(\mathbf{C}\mathbf{v})\mathbf{v}^{\mathsf{H}}. [GolubVanLoan2013, §6.3]. Result: total-least-squares-svd
NLAlib.isLeast_totalLeastSquaresCosts_of_mulVec_eq.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (C : Matrix m (n ⊕ Unit) 𝕜)
{v : n ⊕ Unit → 𝕜} (hv : ‖WithLp.toLp 2 v‖ = 1) (hl : v (Sum.inr ()) ≠ 0)
(he : (Cᴴ * C) *ᵥ v = eigenvalue (Cᴴ * C) (Fintype.card n) • v) :
IsLeast (totalLeastSquaresCosts C) (frobNorm (-vecMulVec (C *ᵥ v) (star v)) ^ 2)Import NLAlib.Matrix.Pseudoinverse.TotalLeastSquares.
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.