NLAlib.IsQR.iterativeSketching_succ
Library Ā· theorem
The iterative sketching step through QR: for a thin QR factorization \mathbf{S}\mathbf{A} = \mathbf{Q}\mathbf{R} with \mathbf{R} invertible, the iterates \mathbf{x}_q = \mathsf{iterativeSketching}(\mathbf{A}, \mathbf{S}, \omega, \mathbf{y}, \mathbf{x}_0, q) satisfy \mathbf{x}_{q+1} = \mathbf{x}_q + \omega\mathbf{R}^{-1}\mathbf{R}^{-\mathsf{H}} \mathbf{A}^{\mathsf{H}}(\mathbf{y} - \mathbf{A}\mathbf{x}_q)\,, two triangular solves per step. [Epperly2024, Algorithm 2], there with \omega = 1.
NLAlib.IsQR.iterativeSketching_succ.{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] {S : Matrix k m š}
{A : Matrix m n š} [DecidableEq n] [LinearOrder n] {Q : Matrix k n š} {R : Matrix n n š}
(hQR : IsQR (S * A) Q R) (hR : IsUnit R) (Ļ : ā) (y : m ā š) (xā : n ā š) (q : ā) :
iterativeSketching A S Ļ y xā (q + 1) =
iterativeSketching A S Ļ y xā q +
Ļ ā¢ Rā»Ā¹ *ᵄ Rā»Ā¹į““ *ᵄ Aį““ *ᵄ (y - A *ᵄ iterativeSketching A S Ļ y xā q)Import NLAlib.Regression.IterativeSketching.