-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
implement SymPy Piecewise equivalent #20191
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
Dependencies: pynac-0.7.11 |
Changed dependencies from pynac-0.7.11 to #23820 |
Author: Ralf Stephan |
comment:9
Does this solve the issue in the ticket description? If so, I feel like we should add that as a doctest. If not, then you can set a positive review and post in a comment here which ticket will actually address it. |
Reviewer: Travis Scrimshaw |
comment:10
Right. #23923 depends on this. |
Changed branch from u/rws/implement_sympy_piecewise_equivalent to |
This shows an equivalent to SymPy's
Piecewise
is missing in Sage:Piecewise
in SymPy is a held function ofExprCondPair
arguments. It would be a superset of ourpiecewise
. The name should not be confusable, a suggestion isif_then([(log(x)==0, y), (x^y/log(x), 1)])
.When it is implemented a SymPy patch should be done for the
_sage_
method.EDIT: Maxima 5.38.1 returns a similar function for some integrals.
Depends on #23820
CC: @mforets
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
1929337
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/20191
The text was updated successfully, but these errors were encountered: