To my knowledge there is no way to add an assumption to a symbol after it has been created (this is in the old assumptions system).
You would probably have to make and pass around a new one. On Sun, Oct 14, 2012 at 5:06 PM, G B <[email protected]> wrote: > I apologize if this is obvious, but how to I add an assumption to a > symbol? I know there are two dueling assumptions systems for the time > being, and the solver seems to use the older one. > > if I create a symbol: > s=symbol('s',real=True) > > and later want to add the assumption that 's' is also positive, what is > the right way to do that? > > > Thanks— > Greg > > -- > 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.
