Re: QR algorithm with explicit shifts




In article <0Hu8f.5510$sA4.1069@xxxxxxxxxxxxxxxxxxxx>,
"BemusedbyQM" <groover892002@xxxxxxxxxxx> writes:
>hi,
>
>i am using the QR algorithm with explicit shifts to find the eigenvalues of
>a real or complex matrix.
>
>the way i have it set up at present is that it selects a shift (a wilkinson
>shift taken from the eigenvalues of the bottom right hand corner 2 x 2
>submatrix) , and then carries out iterations of the QR algorithm until one
>of the eigenvalues converges. it then stops, deflates the matrix, selects
>another shift and carries on with the QR algorithm until the next eigenvalue
>converges.
>
>my question is, would it be possible to select a new shift after every
>iteration , rather than waiting for convergence? if so would there be any
>advantage in doing this, with regards to how quickly overall convergence is
>acheived etc?
>
>
>thanks
>
>

normally the QR iteration is performed with a new (Wilkinson)shift at every
single iteration step.
only this technique leads to the supercubic convergence for the hermitian
tridiagonal case.
your approach makes sense in the nonhermitian case and for the first eigenvalue
because in the beginning there is little to say about the value of the
Wilkinsonshift. and do not forget the exceptional random shift in case of
no obvious convergence after a number of steps (30 in the old days).
hth
peter
.



Relevant Pages

  • Re: incorrect convergence of qr algorithm
    ... >> i have written an eigenvalue finder that uses the qr algorithm, ... i seem to get the wrong values upon convergence. ... have all eigenvalues on the unit circle in the complex plane. ... then complex eigenvalues appear as complex conjugates and no real shift can break ...
    (sci.math.num-analysis)
  • QR algorithm with explicit shifts
    ... a real or complex matrix. ... the way i have it set up at present is that it selects a shift (a wilkinson ... shift taken from the eigenvalues of the bottom right hand corner 2 x 2 ... and then carries out iterations of the QR algorithm until one ...
    (sci.math.num-analysis)
  • Re: QR algorithm
    ... >I have written a computer routine that uses the QR algorithm to find the ... >eigenvalues of a real or complex matrix, and it works fine, always producing ... if the diagonal elements of the matrix are the same then the ... >the diagonal elements being all the same, and then to shift the produced ...
    (sci.math.num-analysis)
  • convergence of QR-algorithm
    ... reached convergence), ... until all the eigenvalues have been found. ... Also is there anything I can do, such as introduce another shift, that ... in the algorithm, to speed up convergence. ...
    (sci.math.num-analysis)
  • Re: convergence of QR-algorithm
    ... Bill, yes I'm doing all of that., alongside using a shift that is the ... calculate the eigenvalues of this. ... In either case the bottom two elements below the diagonal should ... the one I'm using as it involves more calculation at each iteration. ...
    (sci.math.num-analysis)