Legendreq

Parent Previous Next

Legendreq


Associated Legendre function of the second kind (wiki)



Syntax


Legendreq(n, x)

n is a integer

x is a real number

Return a vector contains associated Legendre function of the second kind for x based on n


n is a integer

x is real row/column array

Return a matrix in which each column contains Legendre function of the second kind for x[i] based on n


Example


Input

Output

legendreq(5, 0.5)

legendreq(2, [0.21,-0.05,0.89,-0.43,0.52])


See Also


Created with the Personal Edition of HelpNDoc: Easily create Web Help sites