NLA-lib Explorer

NLAlib.ShiftedQR.shiftedPrefix

Library · def

The mathematical matrix after shifting the first k diagonal entries. Entries outside the finite diagonal are not visited, so any k >= n gives the complete diagonal shift.

NLAlib.ShiftedQR.shiftedPrefix {n : ℕ} (A : Matrix (Fin n) (Fin n) ℂ) (s : ℂ) (k : ℕ) :
  Matrix (Fin n) (Fin n) ℂ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.Shift.