I support a change to the SymPy core classes so that `Add` never evaluates but we add a function `add` which does evaluate. The uppercase-does-not-evaluate convention works very well in MatrixExprs.
On Tue, Oct 1, 2013 at 2:45 AM, Ben Lucato <[email protected]> wrote: > I have been doing some more work on this, and wanted to further include > sympy.Add, sympy.Mul and sympy.Pow, however it doesn't work the same. > > For instance, doing noevalAdd(1, 2) returns 3, whereas sympy.Add(1, 2, > evaluate=False) returns 1 + 2. > > > Is there a way to do the same thing for these 'core' classes? > > -- > 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 http://groups.google.com/group/sympy. > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
