The theory of spherical and ellipsoidal harmonics.