Updates:
        Summary: ask(x + exp(x), Q.positive, Assume(x, Q.real) returns None
        Labels: Assumptions

Comment #10 on issue 1244 by Vinzent.Steinberg: ask(x + exp(x), Q.positive,  
Assume(x, Q.real) returns None
http://code.google.com/p/sympy/issues/detail?id=1244

In [20]: (x+exp(x)).is_positive

In [21]: ask(x+exp(x), Q.positive)

In [22]: ask(x+exp(x), Q.positive, Assume(x, Q.real))

In [23]: ask(x+exp(x), Q.positive, Assume(x, Q.real) & Assume(x, Q.nonzero))

In [24]:

So the new assumptions module has to be fixed.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--

You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.


Reply via email to