At each iteration i$i$ of the GMRES method, is calculated a single new orthonormal vector of the existing Krylov subspace. If the norm of that vector is 0 (or close to 0), then the subspace is "complete", and we should be able to calculate the converged solution. In theory, this occurs when we have N$N$ orthonormal vectors (where N$N$ is the size of A$A$).
The solution can then be computed using x=x0+Vy, where V $$x=x_0+Vy$$ where $V$ is the matrix of orthonormal vectors computed above. [x0 (Nx1),V(NxN)[$x_0 (N \times 1),V(N \times N)$ and y(Nx1)$y(N \times 1)$].
My question is: What happens if the algorithm findfinds only P < N$P < N$ orthonormal vectors.? How can I complete the Krylov-subspace and how can be computed x=x0+Vy$x=x_0+Vy$ if V(NxP)$V(N \times P)$ is not a square matrix?