The small-eigenvalue program
Library · Source module
The small-eigenvalue program
The algorithm Eig of [BanksGarzaVargasSrivastava2025, Theorem 1.1] as a fixed program [d, nq, T] (Bk, Q) → (Ev) over scalar arithmetic, index literals, draws of a Gaussian stream and the polar disk sampler, with no eigenvalue oracle: a block of order at most 1 is copied; for a larger one the output words are set to zero (so that they are stored even when the core stops early), the block is copied to scratch, perturbed by a scaled complex Gaussian matrix (NLAlib.SmallEig.ginibrePerturb), reduced to Hessenberg form (NLAlib.hessenbergReduceLast), and deflated by the core (NLAlib.SmallEig.smallEigCore at the bottom width 1) with the threshold word Q[6] and the words Q. The program has the interface of a small-eigenvalue routine (NLAlib.ShiftedQR.RandomSmallEigContract), so the shifted QR algorithm can run it in the place of its kernel.
Main definitions
* NLAlib.SmallEig.smallEigProg: the program. * NLAlib.SmallEig.smallEigDims, NLAlib.SmallEig.SmallEigInput, NLAlib.SmallEig.SmallEigSpectrum: the dimensions, the memory of the input and the memory of the output of a run.
Main results
* NLAlib.SmallEig.smallEigProg_completes: completion on every tape, with no rounding model. * NLAlib.SmallEig.smallEigProg_terminates: the same with the accumulator near a unitary under the standard model.
Declarations
- NLAlib.SmallEig.SmallEigCoreReady
- NLAlib.SmallEig.SmallEigInput
- NLAlib.SmallEig.SmallEigSpectrum
- NLAlib.SmallEig.hessenbergReduceLastSlots_closed_planes
- NLAlib.SmallEig.smallEigDims
- NLAlib.SmallEig.smallEigProg
- NLAlib.SmallEig.smallEigProg_accumulator_le
- NLAlib.SmallEig.smallEigProg_completes
- NLAlib.SmallEig.smallEigProg_core_terminates
- NLAlib.SmallEig.smallEigProg_reduce_terminates
- NLAlib.SmallEig.smallEigProg_reduce_writes
- NLAlib.SmallEig.smallEigProg_reduce_writes_if
- NLAlib.SmallEig.smallEigProg_terminates
- NLAlib.SmallEig.smallEigProg_terminatingLeafRoutineIf
- NLAlib.SmallEig.specNorm_sub_mul_le_of_near