Re: [sympy] refine: Doc error in refine.py

30 views
Skip to first unread message
Message has been deleted

Oscar Benjamin

unread,
Feb 13, 2021, 6:20:02 AM2/13/21
to sympy
You seem to presume that someone reading your message understands what it is that you are doing. It isn't clear what question you are asking or what it is you are doing that does not work.

Please take the time to explain yourself more clearly.

On Sat, 13 Feb 2021 at 03:02, Ayush Bisht <bisht.a...@gmail.com> wrote:
can someone help me with this? I have tried every suggestions from  sympy community but still the error persist in the doc string.
I have updated sympy : 
!pip install sympy --upgrade to sympy 1.7.1
I am using latest python 3.9.1.

I have gone through the documentation and found this : 
sympy.assumptions.refine.refine(exprassumptions=True)
Simplify an expression using assumptions.
Gives the form of expr that would be obtained if symbols in it were replaced by explicit numerical expressions satisfying the assumptions.

Since it , return an expression based on the assumptions provided 
it means :
refine(Q.real(x) , Q.positive(x))
must be an expression not a True boolean value

If I understand it falsely then please help me , your help and suggestions will be highly appreciated. 
refineError.PNG

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/c5ebc89a-8e56-4ff6-b38e-78fcdce1edf0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages