On Sep 12, 2007, at 9:52 PM, William Stein wrote: > Personally, I think you're applying some of the very structured > coercion > model thinking in this situation, which is I think the wrong approach > for symbol pushing and symbolic calculus.
I think you're right... > Right now one gets the following, which is very lame (if you > agree, please add this to the trac ticket): > > sage: f(x) = x^2 > sage: f + sin > x |--> sin + x^2 > sage: f(10) > 100 Done. >> What should >> sin.variables() return? > > What it does now: > > sage: sin.variables() > () > >> I think it should be a tuple with one >> element, as it takes one argument... >> Or something special? > > It has no variables right now, so why should it return any? It's > an unevaluate function. It is an unevaluated function *in one input*. If I type sage: f(x) = x^3-x now f is an unevaluated function as well, right? (or is it a function evaluated at x? If so, can I get the unevaluated version?) - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---