normalized ALF (Assotiated Legendre Function)

Ben Abbott bpabbott at mac.com
Wed Feb 13 06:39:49 CST 2008


On Feb 13, 2008, at 6:47 AM, Marco Caliari wrote:

> Hi Ben.
>
> This one still gives problems
>
> legendre(151,0)
>
> with an Inf. I would check the line
>
> scale = -scale * (2*m-1);

That line was incorporated from your version. Should it be something  
else?

> and try to prevent that scale becomes Inf.
> Moreover, I don't understand the limit 255 on n. With the  
> normalizations, there are no problems for n>255.

Agreed.

I'll post an update in couple of hours.

Ben


More information about the Help-octave mailing list