We could do some metaprogramming like they do to define namedtuple, but I don't know whether hacks like that are looked down upon in sympy.
On Thursday, July 18, 2013 10:20:06 AM UTC-6, Rick Muller wrote: > > But I don't know how do define a function that does this, without defining > arguments or > > > modifying the object after creation, both of which I understand are forbidden > in sympy operators. > > > Any thoughts? > > -- 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.
