#2459 elliptic_f(2,1) is wrong

closed
nobody
5
2012-08-19
2012-08-17
Raymond Toy
No

Maxima says elliptic_f(2,1) is log(tan(%pi/4+1)). That's not right because elliptic_f(%pi/2,1) is infinity.

elliptic_f(x,1) also simplifies to log(tan(%pi/4+x/2)), but that's only corrrect if abs(x) <= %pi/2.

Not sure what to do about the latter, but for numeric arguments, we should either return infinity or an error.

Discussion

  • Raymond Toy

    Raymond Toy - 2012-08-19
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2012-08-19

    Signal an error in this case.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks