<< sci_gsl sci_gsl NormAss_legendre >>

sci_gsl >> sci_gsl > Ass_legendre

Ass_legendre

It computes the Associated Legendre Polynomial.

Syntax

y = Ass_legendre(l,m,x)

Parameters

y:

output

l and m:

are integers. m greater than equal to 0 and l greater than equal to m.

x:

is a real number lies in the range [-1,1]

Description

This function computes the Associated Legendre Polynomial for given values of l, m and x.

Examples

// Associated Legendre Polynomial P21(x) at x = 0.5
m=1
l=2
x=0.5
y = Ass_legendre(l,m,x)

Authors


Report an issue
<< sci_gsl sci_gsl NormAss_legendre >>