I believe the Number class is only for explicit integer, rational, and floating point numbers.
Aaron Meurer On Wed, Mar 25, 2015 at 2:58 PM, Paul Royik <[email protected]> wrote: > Thanks. > > On Wednesday, March 25, 2015 at 8:13:00 PM UTC+2, Sudhanshu Mishra wrote: >> >> 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 <[email protected]> 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 <[email protected]> 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 [email protected]. >>>> > To post to this group, send email to [email protected]. >>>> > 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> 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. >>> >>> 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 [email protected]. > To post to this group, send email to [email protected]. > 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/91cfdcae-fda6-4d30-87d7-30189ff74c2a%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 [email protected]. To post to this group, send email to [email protected]. 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/CAKgW%3D6KhgRuniu0AngsBghLzKtsAy8T%3Df%3DJhE1iL44BnunOjTg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
