Skip to content

Conversation

Sumegh-git
Copy link
Contributor

@Sumegh-git Sumegh-git commented Dec 16, 2018

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 within 2*eps() in double precision case.

@simonbyrne
Copy link
Member

It needs some basic tests against known values (e.g. from papers or something like Mathematica). Ideally we should test all the branches.

Copy link
Member

@simonbyrne simonbyrne left a 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?

@simonbyrne
Copy link
Member

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).

@Sumegh-git
Copy link
Contributor Author

Okay!!

@Sumegh-git
Copy link
Contributor Author

DONE!! Increased Coverage by adding more tests!

@simonbyrne simonbyrne merged commit ea552c6 into JuliaMath:master Dec 19, 2018
@simonbyrne
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants