Infinite powers of matrices and characteristic roots