On Wed, 16 Sep 2009 08:16:56 -0700 (PDT)
kcrisman <[email protected]> wrote:

> 
> Might there be a way to do something that doesn't conflict with the
> builtin max function in the same way as the (nearly reviewed) #3587
> seems to avoid conflict with the builtin sum function?  This would be
> pretty useful, as currently:
> 
> sage: var('x,y')
> (x, y)
> sage: max(x,y)
> x
> sage: f(x)=1+x;g(x)=2-x
> sage: max(f,g)
> x |--> x + 1
> 
> which last result is... debatable.

It's not hard to provide symbolic max and min functions, and we should
definitely do this.

http://trac.sagemath.org/sage_trac/ticket/6949

If we can make them as fast as the builtin max and min, we can consider
replacing the builtin ones with the symbolic alternatives.


Cheers,
Burcin

--~--~---------~--~----~------------~-------~--~----~
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/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to