On Thu, May 14, 2009 at 3:12 AM, Fabian Pedregosa <fab...@fseoane.net> wrote:
> Maybe the distinction between Symbol and Function in SymPy is rather
> artificial. After all, a function is an unknown variable with the same
> operations as Symbol, being the only difference with symbol that they
> live in different spaces (but specifying where the object lives is more
> the job of assumptions).
>
> Or is there another reason to make Symbol and Function separate objects?

They have different __new__ methods, e.g. Function is the base class
for all sympy functions, while Symbol is just a symbol.

But I agree it is artificial in a sense. If anyone submits a patch,
that merges the two approaches, and it is not a mess, we can do it.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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