Perhaps both should be "constantsimp" and the behavior should be controlled by a keyword argument.
On the other hand, you could argue that your model function is only superficially similar to constantsimp, in that it calls constantsimp() after putting in the constants. I can't really think of a better name for it, though, other than my suggestion above. Aaron Meurer On Wed, Sep 28, 2011 at 9:08 AM, smichr <[email protected]> wrote: > In my branch named model there is a function named 'model' (for lack > of a better name) that rewrites and expression in terms of a single > variable and numbered constants. It is like constantsimp, but > constantsimp is targeting constants as they might arise from the > output of dsolve whereas 'model' is more general in what it is looking > for. I'm looking for suggestions for the name. Perhaps the simplest > thing to do is name ode's constantsimp as 'odeconstantsimp' and rename > model as 'constantsimp'. Another idea is 'cform' where the 'c' is, as > in 'cse', standing for 'constant'. > > Other suggestions are welcome. > > -- > 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.
