maybe you should consider as appropriate, the result of the same
expression as the input.   e.g.  max(sin(x),cos(x)).

It has the advantages of (1) being rather fast if you do nothing much
other than note that with symbolic inputs, max cannot be computed
without, oh,  replacing max  with symbolic_max over some domain
 (2) being not obviouslly  bogus.

The corresponding question for sum is tricky.  Do you want to do
sum  as an iteration?  Always?  Consider sum of i =1 to 1000000000000
which is either trivial and time consuming or symbolic-trivial and fast.

RJF


On Saturday, May 9, 2015 at 6:14:19 AM UTC-7, Nathann Cohen wrote:
>
> Helloooooooooooooo ! 
>
> Does anybody know what to do with the following "feature report" ? :-P 
>
> sage: max(sin(x),cos(x)) 
> sin(x) 
>
> Nathann 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to