NLAlib.ShiftedQR.scanPrefix_isSome_iff
Library · theorem
The prefix flag is set exactly when at least one visited squared modulus is small.
NLAlib.ShiftedQR.scanPrefix_isSome_iff {n : ℕ} (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)
(threshold : ℝ) (k : ℕ) :
(ShiftedQR.scanPrefix H threshold k).isSome = true ↔
∃ i < k, ShiftedQR.subdiagonalSq H i ≤ thresholdImport NLAlib.Eigensolvers.ShiftedQR.Scan.