recursive def of legendre polynomial



> I wrote...
>
>
> a recursive version is not nearly as much fun.  it would look like p(n,x):= if n=0 then 1 else if n=1 then x else ...
>   

Richard Hennessy's is a Rodriguez formula for the same polynomials, and 
is not recursive, but certainly works too.

If you are doing a lot of computations with them, try to simplify the 
polynomials
when you create them, instead of later.