In [24]: pi.is_NumberSymbol
Out[24]: True

pi is not an object of Number class though.

Sudhanshu Mishra

On Wed, Mar 25, 2015 at 11:16 PM, Paul Royik <distantjob...@gmail.com>
wrote:

> Thank you.
> Can you tell me what pi is instance of?
>
> On Wednesday, March 25, 2015 at 6:55:53 PM UTC+2, Aaron Meurer wrote:
>>
>> The capitalized version checks if the class is an instance of the
>> Number class (this is true in general for is_Capitalized). The
>> lowercase version checks if the expression has free symbols. So for
>> instance, (1 + pi).is_number is True but (1 + pi).is_Number is False.
>> In general, is_lowercase means it checks some assumption on an
>> expression (is_number is technically not part of the assumptions
>> system, but it is very similar).
>>
>> Aaron Meurer
>>
>> On Wed, Mar 25, 2015 at 7:32 AM, Paul Royik <distan...@gmail.com> wrote:
>> > What is the difference between above two properties?
>> >
>> > --
>> > 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 post to this group, send email to sy...@googlegroups.com.
>> > Visit this group at http://groups.google.com/group/sympy.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msgid/sympy/bece1b16-7060-
>> 44b0-b3b5-932fec144f4a%40googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/9ec2f208-b03d-47b7-bee7-110a68695055%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/9ec2f208-b03d-47b7-bee7-110a68695055%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAFW_KCScrevxVurSyteKGm6yRqGPGeshaQQhzqxkvCTWT%2BhceQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to