Hi all,

I found myself looking for sympy.min and sympy.max today, a solution is 
quite trivial:

def min(a, b):
    return Piecewise((a, a < b), (b, True))

and max in analogy. Would it make sense to include those functions? Are 
they too simple?
Have I overlooked some aspect?

Best regards,
Björn

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/7189c27c-6db0-4b73-b752-91c28ffa538d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to