NLA-lib Explorer

NLAlib.richardsonIterate

Library ยท def

The preconditioned Richardson iterate for \mathbf{A} \in \Bbbk^{m \times n} with an approximate inverse \mathbf{M} \in \Bbbk^{n \times m}: \mathsf{richardsonIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, 0) := \mathbf{x}_0 and \mathsf{richardsonIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q + 1) := \mathbf{x}_q + \mathbf{M}(\mathbf{b} - \mathbf{A}\mathbf{x}_q), with \mathbf{x}_q the q-th iterate. A step size \omega is the preconditioner \omega\mathbf{M}. Square with \mathbf{M} = \mathbf{I} it is Richardson's method with unit step; with an approximate inverse, iterative refinement; with \mathbf{M} = \omega\mathbf{A}^{\mathsf{H}}, Landweber's iteration; with \mathbf{M} = \mathbf{N}\mathbf{A}^{\mathsf{H}}, Richardson on the normal equations (NLAlib.richardsonIterate_mul_conjTranspose). Total, with no hypothesis on \mathbf{A} or \mathbf{M}. The argument order is that of NLAlib.pcgIterate.

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

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.Richardson.