Stav dette: Generalized associated Legendre functions and their applications