NLA-lib Explorer

NLAlib.kaczmarzIterate

Library ยท def

The Kaczmarz iterate for \mathbf{A} \in \Bbbk^{m \times n} with row choices \iota_0, \iota_1, \ldots: the sketch-and-project iterate \mathsf{kaczmarzIterate}(\mathbf{A}, \iota, \mathbf{b}, \mathbf{x}_0, q) := \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}_0, q) whose q-th sketch \mathbf{S}_q selects row \iota_q, so that each step is the orthogonal projection onto the hyperplane \{\mathbf{y} : (\mathbf{A}\mathbf{y})_{\iota_q} = \mathbf{b}_{\iota_q}\}. The row-action formula \mathbf{x}_{q+1} = \mathbf{x}_q + \frac{\mathbf{b}_{\iota_q} - (\mathbf{A}\mathbf{x}_q)_{\iota_q}} {\|\mathbf{a}_{\iota_q}\|^2}\,\overline{\mathbf{a}_{\iota_q}}\,, with \mathbf{a}_i the rows of \mathbf{A}, is NLAlib.kaczmarzIterate_succ; a zero row leaves the iterate unchanged. Randomized Kaczmarz draws the rows independently with probabilities NLAlib.rowNormSqDistribution A. [StrohmerVershynin2009, Algorithm 1]; [MaNeedellRamdas2015, (2.1)], the complex update; [GowerRichtarik2015, ยง3.3], as sketch-and-project.

NLAlib.kaczmarzIterate.{u_1, u_2, u_3} {๐•œ : Type u_1} [RCLike ๐•œ] {m : Type u_2} {n : Type u_3}
  [Fintype m] [Fintype n] [DecidableEq m] (A : Matrix m n ๐•œ) (ฮน : โ„• โ†’ m) (b : m โ†’ ๐•œ) (xโ‚€ : n โ†’ ๐•œ) :
  โ„• โ†’ n โ†’ ๐•œ

Full source on GitHub

Import NLAlib.Regression.Kaczmarz.