The rounded shifting strategy as a probabilistic block
Library · Source module
The rounded shifting strategy as a probabilistic block
The assembly of \mathrm{Sh}_{k,B} of [BanksGarzaVargasSrivastava2022, Lemma 5.4] in floating point from its steps (Find, the comptau test, the accepted step and the trials of Exc): the decision between the accepted step and the exceptional shifts, the prefix of the program, and the whole step as a probabilistic block specification. A failure word records that no trial succeeded, a branch the paper's Sh does not have.
Main results
* NLAlib.ShiftedQR.shDecide_pwrites: the decision between the accepted step and Exc. * NLAlib.ShiftedQR.shPrefix_writes: the prefix (Find and the test). * NLAlib.ShiftedQR.shStep_pwrites: Sh as a probabilistic block.