FNPnreturns the value of the Legendre function of the first kind, degree zero, and ordernofx,Pn(x), into the real variableY.Nmust be positive or zero.
Errors
FNPncauses an HTBasic error if its arguments are not of the types listed in the USAGE section, above, ifn< 0, or if the polynomial's absolute value would be larger than MAXREAL, the largest value representable.
See Also
P1n, Qn
Pn(x)
Note
Forn> 12, the algorithm used computes the value ofPnusing a recursion from the values ofP1 andP2. The computation time increases withn- 11 and the computation accuracy decreases withn- 11.