HTBasic Help
×
Menu
Index
P1n
LeGendre function of the first kind, degree one.
 
Loading        LOADSUB ALL FROM "LEGENDRE.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNP1n(N,X)
 
Description                
FNP1n returns the value of the Legendre function of the first kind, degree one, and order n of x, Pn1(x), into the real variable Y. N must be positive or zero.
 
Errors                
FNP1n causes an HTBasic error if its arguments are not of the types listed in the USAGE section, above, if n < 0, or if the polynomial's absolute value would be larger than MAXREAL, the largest value representable.
 
See Also
Pn, Q1n
 
Pn1(x)
Note
                       For n > 12, the algorithm used computes the value of Pn1 using a recursion from the values of P11 and P21. The computation time increases with n - 1 and the computation accuracy decreases with n - 1.