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
_sympy_ conversion for BuiltinFunction and CallableSymbolicExpression objects #32130
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
mkoeppe
changed the title
_sympy_ method for function objects
_sympy_ conversion for BuiltinFunction and CallableSymbolicExpression objects
Jul 5, 2021
New commits:
|
Author: Matthias Koeppe |
Commit: |
comment:7
LGTM. |
Reviewer: Travis Scrimshaw |
comment:8
Thanks! |
Changed branch from u/mkoeppe/_sympy__conversion_for_builtinfunction_and_callablesymbolicexpression_objects to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we have:
We should fix this by providing functions with a
_sympy_
method that implements the same conversion asSympyConverter.composition
.Also, converting
CallableSymbolicExpression
to sympy forgets about the formal arguments:We change it to return a SymPy
Lambda
instead.CC: @egourgoulhon @nbruin @kcrisman @EmmanuelCharpentier @mwageringel
Component: symbolics
Author: Matthias Koeppe
Branch/Commit:
d9cff76
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/32130
The text was updated successfully, but these errors were encountered: