Dear All
How is it possible to differentiate between defined(internal) and
undefined functions?
For example:

x = symbols('x')
f = Function('f')(x)
eq=cos(x)+f
s=eq.atoms(Function)
>>> s
set(f(x), cos(x))

so I would like

for i in s:
  IS_INTERNAL(i)  or IS_DEFINED(i) or whatever

and get something like that

f(x) -> False
cos(x) -> True

Thanks
V

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to