Hi,
I would like to parse a string expression like that
from sympy.parsing.sympy_parser import parse_expr
parse_expr("m[0][0]")
But I have an error with 'Symbol' object does not support indexing.
If I do
sympy.Symbol("m[0][0]")
everything is ok.
I try to write my own transformation funtion that takes the "m[x][y]" and
creates a Symbol and add it to the standard_transformations in parse_expr
but the problem is still the same because the problem is in auto_symbol and
it parses again my string 'm[x][y]'.
Could you tell me how I can do that ?
Thanks,
Loic
--
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/b23973b8-0d28-4bf4-b863-404af71458d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.