NLA-lib Explorer

NLAlib.IsBlockGolubKahanErr

Library · structure

Block Golub–Kahan bidiagonalization with full reorthogonalization in rounded arithmetic, as a relation between the input \mathbf{A} (m \times n), \mathbf{\Omega} (n \times \mathbf{b}), the number of steps q and the stored output \mathbf{U} (m \times q\mathbf{b}), \mathbf{V} (n \times (q+1)\mathbf{b}), \mathbf{R}_0 (\mathbf{b} \times \mathbf{b}), \mathbf{R} (q\mathbf{b} \times q\mathbf{b}), \mathbf{S} ((q+1)\mathbf{b} \times q\mathbf{b}), stored as consecutive blocks of width \mathbf{b}, with parameters (\eta_0, \mu, \varepsilon) of the orthogonalization scheme and \varepsilon_{\mathrm{mv}} of the products. Block 0 of \mathbf{V} with \mathbf{R}_0 is a rounded extension of the empty basis by \mathbf{\Omega}. For j < q there is a computed product \mathbf{P} with \|(\mathbf{P} - \mathbf{A}\mathbf{V}_j)\mathbf{e}_c\| \le \varepsilon_{\mathrm{mv}} \|\mathbf{A}\|_2\|\mathbf{V}_j\mathbf{e}_c\| for e\mathbf{v}ery column c, such that \mathbf{b}lock j of \mathbf{U} is a rounded extension of the first j blocks of \mathbf{U} by \mathbf{P}, with coefficients the first j row blocks and row block j of block column j of \mathbf{R}; and a computed product \mathbf{P}' with \|(\mathbf{P}' - \mathbf{A}^{\mathsf{T}}\mathbf{U}_j) \mathbf{e}_c\| \le \varepsilon_{\mathrm{mv}}\|\mathbf{A}\|_2\|\mathbf{U}_j\mathbf{e}_c\| for every column c, such that block j + 1 of \mathbf{V} is a rounded extension of the first j + 1 blocks of \mathbf{V} by \mathbf{P}', with coefficients the first j + 1 row blocks and row block j + 1 of block column j of \mathbf{S}. The remaining rows of both block columns are zero. Algorithm: block-golub-kahan (run model)

NLAlib.IsBlockGolubKahanErr {m n b : ℕ} (η₀ μ ε εmv : ℝ) (A : Matrix (Fin m) (Fin n) ℝ)
  (Ω : Matrix (Fin n) (Fin b) ℝ) (q : ℕ) (U : Matrix (Fin m) (Fin (q * b)) ℝ)
  (V : Matrix (Fin n) (Fin ((q + 1) * b)) ℝ) (R₀ : Matrix (Fin b) (Fin b) ℝ)
  (R : Matrix (Fin (q * b)) (Fin (q * b)) ℝ) (S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) ℝ) : Prop

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.BandGolubKahanRun.