On Sun, Jan 25, 2009 at 3:15 AM, Vinzent Steinberg <[email protected]> wrote: > > I prefer Ondrej's syntax. What about assuming(x>0) instead of > Assumptions(x>0)?
or just assume(x>0), and it will return an Assumptions() instance. Or maybe assuming() to return an instance, and assume() to set global assumptions. > > I think it could be combined with Fabian's approach to allow user- > defined assumptions. > > We could try to abuse the generator syntax to allow > > e = (sin(x) for x in R) > > or similar. > > Sometimes it's probably better to store assumptions in symbols (for > instance when x is real all the time). I think that could be something like a global assumption. But it's true that I am still not convinced we need global assumptions. Ondrej --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
