-
-
Notifications
You must be signed in to change notification settings - Fork 557
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
Fresnel integrals #24212
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
Branch: u/mforets/fresnel_integrals |
comment:2
This is a tentative implementation of sine Fresnel integral. The numerical evaluation relies on mpmath. I doubted about how to write the custom evaluation sage: fresnel_sin(0)
0
sage: fresnel_sin(x).subs(x==0)
0 whereas i get |
comment:3
Oh, and the |
comment:4
Returning
For results to exact or symbolic arguments you need to implement them in |
comment:5
You would just need to handle |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
ok, that fixed the 0, oo and -oo evaluations. i added two new tests for the
probably i could use |
comment:8
You mean |
comment:9
i should relate
i'm tempted to add a ticket to explain this object more. |
comment:10
Replying to @mforets:
No, I was not sure what you had in mind. If you want to test if the argument is complex and infinite then do: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Marcelo Forets |
comment:14
oh, there's no conversion back to sage:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
See how easy it is to add conversions now. |
comment:17
awesome! it took me what, 15 minutes? and it was the first time i was doing that. |
comment:18
Patchbot has relevant doctest errors. |
Dependencies: #24425 |
comment:44
Dependency needs review. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:46
The dependency has been approved and merged. Thanks. I've merged with the latest development version and now i'm checking if the branch applies. |
Changed commit from |
Changed branch from u/rws/24212-2 to t/rws/24212-2 |
Changed branch from t/rws/24212-2 to u/mforets/24212-2 |
Commit: |
comment:48
|
comment:49
Quick question: do you want to change the test in |
comment:50
Alright. I found this one:
(side note: i didn't read the syntax of sympy's meijerg function, but here is a quick comparison to WA's answer) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:54
When we have #17970 we'll likely convert the G expression to the Fresnel expression in Sage. |
Changed branch from u/mforets/24212-2 to |
The SymPy-Sage interface raises an error because there are no Fresnel integral functions in Sage:
They are holonomic so they should be in Sage.
Depends on #24425
CC: @mforets
Component: symbolics
Author: Marcelo Forets
Branch/Commit:
f49ce18
Reviewer: Ralf Stephan
Issue created by migration from https://trac.sagemath.org/ticket/24212
The text was updated successfully, but these errors were encountered: