On Fri, Aug 17, 2012 at 1:42 PM, Raymond Toy <toy.raymond at gmail.com> wrote:
> What should maxima return for elliptic_f(2,1)? I can imagine two
> possible answers: infinity or an error since elliptic_f(%pi/2,1) =
> elliptic_kc(1) which is infinity.
>
> Also, what about elliptic_f(x,1)? The answer returned is really only
> valid for abs(x) <= %pi/2.
>
>
For the record, I made elliptic_f(2,1) signal an error. For
elliptic_f(x,1), maxima returns the log-tan formula unless maxima can
"prove" via csign that abs(x) >= %pi/2. In that case, an error is signaled.
Ray