Unfortunately, distribution of numbers across additions is done automatically, so disabling it is not easy. Using factor() here is your best solution.
Aaron Meurer On Wed, Jun 1, 2016 at 7:06 AM, Michi S <[email protected]> wrote: > factor(sym.Derivative( (sin(t)+exp(t))**3 , t ).doit()) > > works, but it would still be nice if someone could tell me, if there is way > to turn the simplification of ;) > > > > Am Mittwoch, 1. Juni 2016 15:34:28 UTC+2 schrieb Michi S: >> >> Hello! >> >> Is there a way to turn off the automatic simplification by calculating the >> derivative of a function? For example >> >> t = sym.symbols('t') >> sym.Derivative( (sin(t)+exp(t))**3 , t ).doit() >> >> gives: >> (exp(t) + sin(t))**2*(3*exp(t) + 3*cos(t)) >> >> I need the result without any simplifications (in order to detect the >> inner derivative for further calculations) >> >> Should be: >> (exp(t) + sin(t))**2*3*(exp(t) + cos(t)) > > -- > 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/0317a185-3207-413f-885b-cec51d3deb4a%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- 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/CAKgW%3D6KYUH85m6-5xFPeybkcxXj12RoHCzGAveyDhzOib1PcyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
