Hello, On Fri, Jan 23, 2009 at 8:46 PM, kcrisman <[email protected]> wrote: > sage: f(x,y)=x^2+y^2-1 > sage: implicit_plot(f(x,y),(-1,1),(-1,1)) # Fine > sage: implicit_plot(f,(-1,1),(-1,1)) # Fine
For what it's worth, fast_float is implicitly called in both of these. > Change this to _fast_float_ and I run into problems: > > sage: g=f._fast_float_() > sage: implicit_plot(g(x,y),(-1,1),(-1,1)) This fails because g takes in things that can be converted to floats and returns a float -- variables x and y don't satisfy this. > sage: implicit_plot(g,(-1,1),(-1,1)) This could be considered a bug in adapt_to_callable, but even with this fixed, the result would not be any different than implicit_plot(f,(-1,1),(-1,1)). > I tried this too, for what it's worth: > > sage: h(x,y)=f._fast_float_() This fails since the result of fast_float is not a symbolic expression. --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
