Exact correctness of the scalar Ritz binary search
Library · Source module
Exact correctness of the scalar Ritz binary search
The actual scalar implementation initializes its natural index words, performs every bounded search level, then copies the selected stored candidate. Its numerical theorem assumes the mathematical nonsingularity of the supplied shifts. The enclosing strategy derives this fact from its earlier failed acceptance trials, using the existing eigenvalue-shift acceptance result.
Main results
* NLAlib.ShiftedQR.findRitzSearchWithScratch_writes: the actual caller-scratch search. * NLAlib.ShiftedQR.findRitzSearch_writes: scoped scalar search equals findRitz exactly.