-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In many cases we can safely assume all the parameters in a routine are positive, which, in turn, might have two effects:
- Will allow sympy to simplify the expressions more on the fly
- Might be very useful for rewriters.
This can be easily done using sympy's nonnegative keyword: x=Symbol("x", nonnegative=True), and AFAIR is much easier if done at creation of the symbol, rather than modified later.
However, I'm not sure if we're not re-creating the symbols somewhere etc., so needs to be done with caution.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request