Hi!

On Aug 8, 11:50 am, Golam Mortuza Hossain <gmhoss...@gmail.com> wrote:
...
> Now if I say "f(x, x) = x"  then from the output above I would
> get "2".

Is it *possible* to say "f(x,x)=x"? What is it supposed to mean?

- A function on one variable x, written down in an odd way?
- A function whose domain is the diagonal in CC^2 ?
- Or is it "get two input parameters, pick one and return it"?

Apparently, it is the third option:
sage: f(x,x)=x
sage: f
(x, x) |--> x
sage: f(2,1)
1

This seems odd to me.

Why is the definition
 sage: f(x,x)=x
not resulting in an error?

Or, if f(x,x)=x is really intended to be a function on the diagonal,
then f(2,1) should result in an error.

Cheers,
Simon


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to