yes , i am facing the same problems. specially when you try to convert a string format user input into a valid sympy expression using simpify(expr) which internally calls Add and Mul with default parameter (evaluate=true). is there any way to control this ?
On Mon, Oct 3, 2011 at 2:44 AM, Gabor Takacs <[email protected]> wrote: > Hi, > > I experienced that sympy applies automatic evaluation at expression > creation by default > (the evaluate parameter is True in the constructors). > > Therefore, e.g. > - I**3 evaluates to -I > - Pow(I, 3, evaluate=False) evaluates to I**3, but > Pow(I, 3, evaluate=False) * 1 evaluates to -I > > Is it possible to change the default behaviour to "no automatic > evaluation at expression creation"? > (so that I**3 evaluates to I**3) > > Gabor > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
