| 1 | initial version |
Well, min is not what we call a symbolic function. Since x is earlier in the lexicographic order than y:
sage: var('y')
y
sage: min(x,y)
x
We work around that like this.
sage: f(x,y) = 2*min_symbolic(x,y)
sage: f(3,2)
4
sage: f(2,3)
4
This should probably be easier to find...
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.