NLA-lib Explorer

NLAlib.ShiftedQR.leafUpdateMatrix

Library · def

The matrix after the leaf update of the block [lo, lo + d) with the leaf accumulator \mathbf{U}_\mathbf{b} on the machine M: the right coupling (rows [lo, lo + d), columns [lo + d, N)) becomes \mathrm{fl}(\mathbf{U}_\mathbf{b}^{\mathsf{H}}\,\cdot) of itself (with the conjugate transpose as the machine forms it, NLAlib.machineConjTranspose), then the top coupling (rows [0, lo), columns [lo, lo + d)) becomes \mathrm{fl}(\cdot\,\mathbf{U}_\mathbf{b}) of itself (NLAlib.matMulWord).

NLAlib.ShiftedQR.leafUpdateMatrix (M : Ops.Machine ℝ) {N d : ℕ} (lo : ℕ)
  (Ub : Matrix (Fin d) (Fin d) ℂ) (A : Matrix (Fin N) (Fin N) ℂ) : Matrix (Fin N) (Fin N) ℂ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveUpdates.