I'm not sure if __call__ is supposed to do anything on an expression,
but the following doesn't seem useful:
>>> import sympy as sp
>>> x = sp.Symbol('x')
>>> e = x**2 -7
>>> e(4)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.5/site-packages/sympy/core/basic.py", line
1945, in __call__
return Function(self[0])(*args)
NameError: global name 'Function' is not defined
Ted
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" group.
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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---