RFC: the generalized eigenvalue problem (#6758)

WIP for the generalized eigenvalue problem (#6758)