The binary search for a promising Ritz value by row solves
Library · Source module
The binary search for a promising Ritz value by row solves
The binary search NLAlib.findRitz compares the last rows \mathbf{e}_n^{\mathsf{H}}p_h(\mathbf{H})^{-e} of inverse powers of the shift polynomials of the two halves of the Ritz values ([BanksGarzaVargasSrivastava2021, §4.3], \mathrm{Find}). A program computes such a row without forming an inverse: it multiplies the row vector \mathbf{e}_n^{\mathsf{H}} on the right by (\mathbf{H} - s\mathbf{I})^{-1}, once for each shift of the half and each of the e powers, and each such product is one Givens QR of the Hessenberg matrix \mathbf{H} - s\mathbf{I}, a forward substitution with the triangular factor and the rotations applied to the row in reverse order.
Main definitions
* NLAlib.rowForwardSubstState, NLAlib.rowForwardSubst: the forward substitution \mathbf{y}^{\mathsf{T}}\mathbf{R} = \mathbf{v}^{\mathsf{T}} column by column.
Main results
* NLAlib.inv_aeval_shiftPoly_pow_apply_last: the last row of the inverse power as successive row solves. * NLAlib.rowForwardSubst_eq: the forward substitution solves the triangular system. * NLAlib.vecMul_inv_eq_givens: a row solve by Givens QR. * NLAlib.vecMul_conjTranspose_givensHessenbergQ_eq_foldl: the adjoint of the unitary factor as the rotations in reverse order.