NLA-lib Explorer

NLAlib.subBlock

Library · def

The diagonal block of the range r = (lo, d): the d \times d principal submatrix on the indices lo, \dots, lo + d - 1 (clamped at n).

NLAlib.subBlock {n : ℕ} (M : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) (r : ℕ × ℕ) :
  Matrix (Fin r.2) (Fin r.2) ℂ

Full source on GitHub

Import NLAlib.Matrix.QRIteration.HessenbergDeflation.