I understand the basic QR algorithm which is, for given matrix A,
$A_{k} = A$ for k = 0,
$A_{k} = Q_{k}R_{k}$
$A_{k+1} = R_{k}Q_{k}$
repeat iteratively for k > 0
The algorithm supposedly finds the eigenvalues and eigenvectors of A but
1) what is the convergence and what's the condition and when to stop the iteration?
2) suppose after such convergence, $A_{k}$ is decomposed into $Q_{k}R_{k}$, then how can I figure out all of the eigenvalues and eigenvectors?