NLAlib.iterativeSketching
Library ยท def
The iterative sketching iterate with step \omega, for \mathbf{A} \in \Bbbk^{m \times n}, a sketch \mathbf{S} \in \Bbbk^{k \times m} and \mathbf{y} \in \Bbbk^m: \mathsf{iterativeSketching}(\mathbf{A}, \mathbf{S}, \omega, \mathbf{y}, \mathbf{x}_0, q) := \mathsf{richardsonIterate}(\mathbf{A}, \omega\mathbf{G}^{+}\mathbf{A}^{\mathsf{H}}, \mathbf{y}, \mathbf{x}_0, q) with \mathbf{G} = (\mathbf{S}\mathbf{A})^{\mathsf{H}}\mathbf{S}\mathbf{A}, that is \mathbf{x}_{i+1} = \mathbf{x}_i + \omega\mathbf{G}^{+}\mathbf{A}^{\mathsf{H}}(\mathbf{y} - \mathbf{A}\mathbf{x}_i). One sketch, fi\mathbf{x}ed for all steps. \omega = 1 is Epperly's iterative sketching; his damped variant is \omega = (1 - \eta^2)^2/(1 + \eta^2) in the unsquared distortion \eta, which is 1 - \varepsilon^2 for an embedding with constants 1 \mp \varepsilon in squared norms. [Epperly2024, (3.2)], there with \omega = 1; [Epperly2024, (B.2)], the damping; [MartinssonTropp2020, ยง10.4], there with a fresh sketch at every step.
NLAlib.iterativeSketching.{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 : โ) : n โ ๐Import NLAlib.Regression.IterativeSketching.