NLA-lib Explorer

NLAlib.trailingBlock

Library · def

The trailing k \times k block \mathbf{H}_{(k)}: the principal submatrix on the last k indices n + 1 - k, \dots, n (for k > n + 1 the indices are clamped at n, a junk value no statement uses).

NLAlib.trailingBlock {n : ℕ} (k : ℕ) (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) :
  Matrix (Fin k) (Fin k) ℂ

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftedQR.