i am writing since i would like to define the output of the derivative of a
function, and i don't have a clue of how to achieve it
to explain what i wish to do, let's consider the following script
from sympy import *
u = symbols('u')
der = symbols('der')
e = symbols('e', cls=Function)(u)
s = symbols('s', cls=Function)(e)
Derivative(e,u) = der #essentially i would like to teach to sympy to use a
symbol for the Derivative
---> but here i get "SyntaxError: can't assign to function call"
print(diff(s,u)) #here i would like "der" to be replaced within the chain
any suggestion would be very welcome...
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.