On 05/09/2015 09:44 AM, Vincent Delecroix wrote:
> The thing, is that with
> 
> sage: f(x) = max(sin(x), cos(x))
> 
> one would expect the function x -> max(sin(x), cos(x))
> 
> But because how 'max' is implemented in Python this is not possible. One
> solution is to
> 
>  1. create a dedicated symbolic_max or max_symbolic function

sage: max_symbolic(sin(x),cos(x))
max(sin(x), cos(x))

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