Associated Legendre Functions
A new Fortran 90 program to compute regular and irregular associated Legendre functions. We present a modern Fortran 90 code to compute the regular P l m (x) and irregular Q l m (x) associated Legendre functions for all x∈(-1,+1) (on the cut) and |x|>1 and integer degree (l) and order (m). The code applies either forward or backward recursion in (l) and (m) in the stable direction, starting with analytically known values for forward recursion and considering both a Wronskian based and a modified Miller’s method for backward recursion. While some Fortran 77 codes existed for computing the functions off the cut, no Fortran 90 code was available for accurately computing the functions for all real values of x different from x=±1 where the irregular functions are not defined.
Keywords for this software
References in zbMATH (referenced in 2 articles )
Showing results 1 to 2 of 2.
- Zhang, Bin; Yuan, Jianmin; Zhao, Zengxiu: DMTDHF: a full dimensional time-dependent Hartree-Fock program for diatomic molecules in strong laser fields (2015)
- Schneider, Barry I.; Segura, Javier; Gil, Amparo; Guan, Xiaoxu; Bartschat, Klaus: A new Fortran 90 program to compute regular and irregular associated Legendre functions (2010)