Text this: Pseudoinverse formulation of Rayleigh-Schrödinger perturbation theory for the symmetric matrix eigenvalue problem