> > Maybe the best approach is a combined one: Have a centralized routine that > checks if we have a nonlocal case, and if not, delegates to the local > definitions. > Just make sure that each class that participates in a nonlocal > transformation is documented as such. (Maybe such a class should be required > to register with the transformer class, so that people who work on a local > transformation rule are automatically aware of nonlocal transforms that > might be in play.) >
I will do something like that for my gsoc project. I will have objects that use Add and Mul only as tree nodes, not for their canonicalization features (and I will have some helper function to work on that tree). I suppose that this will show if the approach is usable. -- 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.
