NLA-lib Explorer

NLAlib.iterativeSketching_eq

Library · theorem

Iterative sketching is Richardson on the normal equations with \omega\mathbf{G}^{+}, \mathbf{G} = (\mathbf{S}\mathbf{A})^{\mathsf{H}}\mathbf{S}\mathbf{A}: \mathsf{iterativeSketching}(\mathbf{A}, \mathbf{S}, \omega, \mathbf{y}, \mathbf{x}_0, q) = \mathsf{richardsonIterate}(\mathbf{A}^{\mathsf{H}}\mathbf{A}, \omega\mathbf{G}^{+}, \mathbf{A}^{\mathsf{H}}\mathbf{y}, \mathbf{x}_0, q)\,. [Epperly2024, (3.2)], there as iterative refinement on the normal equations.

NLAlib.iterativeSketching_eq.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {k : Type u_2}
  {m : Type u_3} {n : Type u_4} [Fintype k] [Fintype m] [Fintype n] (A : Matrix m n 𝕜)
  (S : Matrix k m 𝕜) (ω : ℝ) (y : m → 𝕜) (x₀ : n → 𝕜) (q : ℕ) :
  iterativeSketching A S ω y x₀ q =
    richardsonIterate (Aᴴ * A) (ω • pinv ((S * A)ᴴ * (S * A))) (Aᴴ *ᵥ y) x₀ q

Full source on GitHub

Import NLAlib.Regression.IterativeSketching.