mcdewey wrote: >> min is a builtin python function and isn't smart >> about symbolic functions; it just returns the first thing when it comes >> to symbolic expressions: >> > ... >> I would do this like: >> >> sage: min(f(-10,-10) for f in [e1,e2,e3]) >> -127 >> >> In other words, evaluate the functions before calling min. >> >> Jason > > Thanks - that explains the problem but doesn't quite get where I > wanted to go. > Is there a version of min that understands symbolic functions? > I would like to be able to send the resulting equation to plot3d.
You could define a function that calls the min: def mymin(x,y): return min(f(-10,-10) for f in [e1,e2,e3]) Then plot mymin. Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---