Skip to content
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

Merged
merged 10 commits into from
Dec 19, 2018
Merged

Added complete elliptic functions for 1st and 2nd kind #135

merged 10 commits into from
Dec 19, 2018

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.

docs/src/index.md Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
src/ellip.jl Outdated Show resolved Hide resolved
@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