The shift search of \mathrm{Sh}_{k,B} as a program performs it
Library · Source module
The shift search of \mathrm{Sh}_{k,B} as a program performs it
The strategy NLAlib.shqrShift picks a successful shift by classical choice and tests success with the potential \psi_k, a k-th root. A program tries the candidates in order and takes the first one that it accepts: the step with shift polynomial (z - s)^k has a subdiagonal entry of modulus at most an absolute threshold \tau, or reduces the product of the squared moduli of the last k subdiagonal entries by (1 - \gamma)^{2k}. Both tests use only the arithmetic operations, and a success in the sense of NLAlib.IsShiftSuccess is accepted, so the search succeeds whenever the strategy does ([BanksGarzaVargasSrivastava2021, §4.2], lines 1–4 of \mathrm{Sh}_{k,B}, which also try the candidates in order and stop at the first success). The potential and the radius of the exceptional disk for k = 2^m are m square roots of products, so the program computes them with the square root of the model.
Main definitions
* NLAlib.IsDecoupledAbs: a subdiagonal entry of modulus at most an absolute threshold. * NLAlib.subdiagNormSqProd: the product of the squared moduli of the last k subdiagonal entries. * NLAlib.IsShiftAccept: the acceptance test of a shift. * NLAlib.shqrAcceptShift, NLAlib.shqrAcceptStep: the first accepted candidate, and the step with it.
Main results
* NLAlib.shqrShift_mem: the strategy's shift is a Ritz value or a candidate. * NLAlib.IsShiftSuccess.isShiftAccept: a success is accepted. * NLAlib.IsUpperHessenberg.isShiftAccept_of_det_eq_zero: an eigenvalue shift is accepted. * NLAlib.exists_unitary_multiShiftedQRStep, NLAlib.IsUpperHessenberg.isUpperHessenberg_shqrAcceptStep: the step is a unitary similarity and keeps the Hessenberg form. * NLAlib.IsUpperHessenberg.exists_mem_isShiftAccept, NLAlib.IsUpperHessenberg.isShiftAccept_shqrAcceptShift: some candidate is accepted, and the search returns an accepted one. * NLAlib.hessenbergPotential_le_of_isShiftAccept: acceptance without decoupling reduces the potential. * NLAlib.IsUpperHessenberg.isDecoupledAbs_or_hessenbergPotential_shqrAcceptStep_le: one iteration of the search. * NLAlib.isDecoupledAbs_of_hessenbergPotential_le_pow: a potential reduced long enough gives the absolute decoupling. * NLAlib.hessenbergPotential_two_pow_eq, NLAlib.exceptionalRadius_two_pow_eq: the potential and the radius by square roots. * NLAlib.isDecoupledAbs_iff_normSq: the decoupling test on squared real and imaginary parts.
Declarations
- NLAlib.IsDecoupledAbs
- NLAlib.IsShiftAccept
- NLAlib.IsShiftSuccess.isShiftAccept
- NLAlib.IsUpperHessenberg.det_sub_smul_one_ne_zero_of_find_none
- NLAlib.IsUpperHessenberg.det_sub_smul_one_ne_zero_of_not_isShiftAccept
- NLAlib.IsUpperHessenberg.exists_mem_isShiftAccept
- NLAlib.IsUpperHessenberg.isDecoupledAbs_or_hessenbergPotential_shqrAcceptStep_le
- NLAlib.IsUpperHessenberg.isShiftAccept_of_det_eq_zero
- NLAlib.IsUpperHessenberg.isShiftAccept_shqrAcceptShift
- NLAlib.IsUpperHessenberg.isUpperHessenberg_shqrAcceptStep
- NLAlib.exceptionalRadius_two_pow_eq
- NLAlib.exists_unitary_multiShiftedQRStep
- NLAlib.hessenbergPotential_le_of_isShiftAccept
- NLAlib.hessenbergPotential_two_pow_eq
- NLAlib.isDecoupledAbs_iff_normSq
- NLAlib.isDecoupledAbs_of_hessenbergPotential_le_pow
- NLAlib.lt_of_not_isDecoupledAbs_of_hessenbergPotential_le_pow
- NLAlib.one_le_ceil_sqrt_two_div_exceptionalSpacing
- NLAlib.shqrAcceptShift
- NLAlib.shqrAcceptShift_eq_three_phase
- NLAlib.shqrAcceptStep
- NLAlib.shqrShift_mem
- NLAlib.subdiagNormSqProd
- NLAlib.subdiagNormSqProd_eq_prod_range