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
For consistency I need to define a class that extends the Basic class, but whose args can contain str.
What is the best way to do this?
Aaron Meurer
unread,
Dec 7, 2024, 6:07:46 PM12/7/24
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 sy...@googlegroups.com
You can use sympy.core.symbol.Str. But be aware that sympify() will
still convert strings into Symbol.
Aaron Meurer
On Fri, Dec 6, 2024 at 11:14 AM Paul Royik <distan...@gmail.com> wrote:
>
> For consistency I need to define a class that extends the Basic class, but whose args can contain str.
>
> What is the best way to do this?
>
But generally, it is fine to use "Symbol" because there is often no semantical difference between symbol and strings, for use of names. but adding/multiplying the symbols doesn't make sense for such usage.
Paul Royik
unread,
Dec 8, 2024, 6:24:11 PM12/8/24
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