Groups
Groups
Sign in
Groups
Groups
sympy
Conversations
About
Send feedback
Help
What is the difference between is_symbol and is_Symbol?
53 views
Skip to first unread message
Paul Royik
unread,
May 11, 2021, 3:28:29 AM
5/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
What are the cases when one is True, while another is False?
Kalevi Suominen
unread,
May 11, 2021, 8:12:18 AM
5/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
>>> from sympy import Indexed, IndexedBase, Idx, symbols
>>> i, j = symbols('i j', cls=Idx)
>>> Aij = Indexed('A', i, j)
>>> Aij.is_symbol
True
>>> Aij.is_Symbol
False
Aij is not a Symbol but it can be used like one in many cases.
Kalevi Suominen
Paul Royik
unread,
May 11, 2021, 10:24:20 AM
5/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Got it!
Paul Royik
unread,
May 11, 2021, 10:24:36 AM
5/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Thank you!
On Tuesday, May 11, 2021 at 3:12:18 PM UTC+3
jks...@gmail.com
wrote:
Reply all
Reply to author
Forward
0 new messages