-
Notifications
You must be signed in to change notification settings - Fork 97
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 Fresnel integrals #398 #407
Conversation
Added fresnel integrals from this repo : https://github.com/kiranshila/FresnelIntegrals.jl. As suggested in JuliaMath#398
Codecov Report
@@ Coverage Diff @@
## master #407 +/- ##
==========================================
+ Coverage 93.63% 93.76% +0.12%
==========================================
Files 12 13 +1
Lines 2767 2822 +55
==========================================
+ Hits 2591 2646 +55
Misses 176 176
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Added the test for the function fresnel(z) for codecov
Added the last test for the function fresnel(z::Number) for full code coverage (codecov) |
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.
Thanks for the PR!
Unfortunately, I'm not sure if it will be merged since we have been hesitant with adding functionality to SpecialFunctions that already exists in other packages. Also here one could just load FresnelIntegrals, and it seems it's not necessary to include these functions in SpecialFunctions.
Nevertheless, I added comments and suggested some improvements. Even if this PR is not merged it might be useful to contribute those to FresnelIntegrals.
Thanks for the review. I used to think it was a good idea to enrich the current package since it is a global SpecialFunctions collection. I will take your reviews into account in my next commit and may open a PR on the original repo. |
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Added tests Reformulated functions, and added lighter ones for real numbers as suggested in JuliaMath/SpecialFunctions.jl#407
All above is also proposed in a PR on the original repo (FresnelIntegrals.jl). |
@curio-sitas I guess this PR can be closed now since the PR in FresnelIntegrals.jl was merged and released in version 0.2? |
Yes you can close it ! |
Added Fresnel integrals from https://github.com/kiranshila/FresnelIntegrals.jl. As suggested in #398
Added 3 functions with docs :
Tests were added too