Helle everybody
Somebody can giv me an idea:
the function change a mathematica style to a python one
string = repr(mlist)
# Convert mathematica-style {} to python style []
string = string.replace('{','(').replace('}',')')
--> 488 return eval(string)
TypeError: 'sage.symbolic.function.SFunction' object is
unsubscriptable
This is a part of my mathematica object. It's a too long object
{(dx dy epsr (((4 Dp
2
> (dx (p[-1, -1] - 2 p[-1, 0] + p[-1, 1]) +
2
> dy (p[-2, 0] - 2 p[-1, 0] + p[0, 0])) +
2
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---