> A Lambda is a function, while Application is the base class for the
> image of an object by a function. These are completely different things,
> so neither should be a subclass of the other.
>
I do not understand.

Function subclasses Application. An instance of Function is something
that is callable onto Expr and returns an Expr

An instance of Lambda is something callable onto Expr and returns an Expr.

I do not see the difference. (Maybe I am just wrong in my previous statements?)


> Note that I don't think it makes much sense for Lambda to subclass Expr:
> Lambdas can't be meaningfully added or multiplied together (well,
> technically you can, but the result doesn't behave like a Lambda at
> all).
>
I see your point, but I think this is just an excessive (in my
opinion, obviously I am no authority on the subject) and useless
control. If one wants the "product" of a Lambda, Point, Matrix and a
Symbol why stop him. Anyway, this is probably off topic.

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

Reply via email to