> There was a huge thread on sage-devel about this a while ago. I think > the consensus was that > > sage: f(x,y) = x^2+y^2-1 > > will still create a (directly callable) symbolic function, but > > sage: f = x^2+y^2-1 > > will not, as the ordering between x and y is ambiguous. The jury was > still out on whether > > sage: f = x^2+1 > sage: f(10) > > should work, because there is a non-ambiguous interpretation. I'd > also like to keep the > > f(x=5, y=3) > > shorthand for f.subs(x=5, y=3).
Sorry, wasn't intending to open that again - I meant the first thing, but avoiding the slowness (my car is just fine, thanks). But this whole thread was quite helpful to review the four (!) possibilities for doing evaluation: Maxima, ns, _fast_float_, and ring creation. Thanks! - kcrisman --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
