NLA-lib Explorer

NLAlib.sketchAndProjectIterate

Library ยท def

The sketch-and-project iterate with sketches \mathbf{S}_0, \mathbf{S}_1, \ldots: \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}_0, 0) := \mathbf{x}_0 and \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}_0, q + 1) := \mathsf{sketchAndProject}(\mathbf{A}, \mathbf{S}_q, \mathbf{b}, \mathbf{x}_q), with \mathbf{x}_q the q-th iterate. A random iterate is \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}(\omega), \mathbf{b}, \mathbf{x}_0, q) for a random sequence \mathbf{S} : \Omega \to (\mathbb{N} \to \Bbbk^{k \times m}); it depends only on the first q sketches (NLAlib.dependsOn_sketchAndProjectIterate). [GowerRichtarik2015, (2.2)].

NLAlib.sketchAndProjectIterate.{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 ๐•œ) (b : m โ†’ ๐•œ) (xโ‚€ : n โ†’ ๐•œ) : โ„• โ†’ n โ†’ ๐•œ

Full source on GitHub

Import NLAlib.Regression.SketchAndProject.