NLA-lib Explorer

NLAlib.ShiftedQR.shqrSmallEigRoutine

Library · def

This statement changed in the recorded rename: 2026-11-merge-schur.

Rounded shifted QR with the small-eigenvalue program at the order n + 1. The dimension n is one less than the order, so that every dimension is the order of a nonempty matrix; the log shape F (k + 1 + np), k (n + 1) of the program is computed from the dimensions. The number of draws depends on the data, so the routine declares none. The written operands are unreported: the termination theorem (NLAlib.ShiftedQR.roundedShQRSmallEig_terminates) states the footprint of the run, not the contents left. The threshold word and the parameter words are read only and may overlap: the input condition NLAlib.ShiftedQR.ShQRSmallEigInput takes each of them apart from the written operands, not from the other. The tree has one variable for each of the matrix and the accumulator, named in both positions of the call.

NLAlib.ShiftedQR.shqrSmallEigRoutine {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.SampleOp O] [Ops.Has Ops.CmpTst Q]
  [Ops.Has Ops.IdxTst Q] (sG : ℕ) : Ops.Routine O Q

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSmallEigRoutine.