Comment #14 on issue 1612 by asmeurer: Symbol('f')(x) != Function('f')(x)
http://code.google.com/p/sympy/issues/detail?id=1612

No, that too depends on caching:

Aaron-Meurer:sympy-scratch aaronmeurer(mathjax$%)$./bin/isympy
IPython console for SymPy 0.7.0-git (Python 2.7.2-64-bit) (ground types: gmpy)

These commands were executed:
from __future__ import division
from sympy import *
x, y, z, t = symbols('x y z t')
k, m, n = symbols('k m n', integer=True)
f, g, h = symbols('f g h', cls=Function)

Documentation can be found at http://www.sympy.org

In [1]: Function('f', nargs=1)(x) == Symbol('f')(x)
Out[1]: True

In [2]:
Exiting ...
Aaron-Meurer:sympy-scratch aaronmeurer(mathjax$%)$./bin/isympy  -C
IPython console for SymPy 0.7.0-git (Python 2.7.2-64-bit) (ground types: gmpy, cache: off)

These commands were executed:
from __future__ import division
from sympy import *
x, y, z, t = symbols('x y z t')
k, m, n = symbols('k m n', integer=True)
f, g, h = symbols('f g h', cls=Function)

Documentation can be found at http://www.sympy.org

In [1]: Function('f', nargs=1)(x) == Symbol('f')(x)
Out[1]: False

In [2]:
Exiting ...


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to