Algorithms for the solution of the generalized eigenvalue problem