Loadable Function: z = gsl_sf_legendre_array (arg1, arg2, arg3, arg4)
Loadable Function: z = gsl_sf_legendre_array (…)

Calculate all normalized associated Legendre polynomials for 0 <= l <= lmax and 0 <= m <= l for |x|<= 1. The norm parameter specifies which normalization is used. The array index of P_l^m is given by l(l+1)/2+m. To include or exclude the Condon-Shortley phase factor of (-1)^m, set the fourth parameter to either -1 or 1, respectively.

The argument arg1 must be an integer corresponding to

0 = GSL_SF_LEGENDRE_SCHMIDT

Computation of the Schmidt semi-normalized associated Legendre polynomials S_l^m(x).

1 = GSL_SF_LEGENDRE_SPHARM

Computation of the spherical harmonic associated Legendre polynomials Y_l^m(x).

2 = GSL_SF_LEGENDRE_FULL

Computation of the fully normalized associated Legendre polynomials N_l^m(x).

3 = GSL_SF_LEGENDRE_NONE

Computation of the unnormalized associated Legendre polynomials P_l^m(x).

This function is from the GNU Scientific Library, see http://www.gnu.org/software/gsl/ for documentation.

Package: gsl