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/CAKgW%3D6Lj33aGqb1EjV-EdKyCq%3DQybCp5-3jBu%3D29bA2FedRxvQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
