Variational Solutions to the Brillouin—Wigner Perturbation Differential Equations