Associated Legendre P and Q functions



-----Raymond Toy wrote: -----

>From looking at the documentation for orthopoly,
>it's unclear what assoc_legendre_p(a,b,z) and
>assoc_legendre_q(a,b,z) are.  Is a the
>degree and b the order?

For integers n, with n > -1, it should be the case that

   assoc_legendre_p(n,0,x) - legendre_p(n,x),
   assoc_legendre_q(n,0,x) - legendre_q(n,x).

So, yes for assoc_legendre_p(a,b,x) and assoc_legendre_p(a,b,x),
the first argument is what I would call the degree, and
the second is the order. My macsyma uses the same
convention.

>I think the documentation should at least say so.

I'll try to improve it.
Barton