I want to differentiate an expression as follows in `sympy`. I am using
`jupyter qtconsole` with enabled latex:
from sympy import *
init_printing()
p0,nu,lamb,k,epsp, dp0 = symbols(r'p_0, nu, lambda, kappa,
\delta\epsilon_p^p, \deltap_0')
test = Eq(epsp,((lamb-k)/nu)*dp0/p0)
p0expr = solve(test,p0)[0]
diff(p0expr, epsp)
diff(p0expr,k)
diff(p0expr,lamb)
I'd like to focus on the last three lines of code, lines 6, 7 and 8. Lines
7 and 8 output latex style output while line 6 does not. Why does line 6
not get output in latex? This makes no sense to me could anyone please
explain?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/1564d181-990a-4a44-99d4-bf490c812434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.