-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added complete elliptic functions for 1st and 2nd kind #135
Conversation
It needs some basic tests against known values (e.g. from papers or something like Mathematica). Ideally we should test all the branches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. @stevengj do you have any comments?
I'm happy to merge as is, but it would be good to improve the coverage stats if possible (look at the coveralls output for which lines are still missed). |
Okay!! |
DONE!! Increased Coverage by adding more tests! |
Thanks! |
Computes Complete Elliptic functions E(k) and K(k) in domain [-inf,1) using piecewise approximate polynomial. Faster than all existing methods for elliptical integral computation ,(
benchmarked time = 0.021ns for 0<k<1
) and quite precise as well having relative tolerance of within2*eps()
in double precision case.