On Mon, Jan 24, 2011 at 10:13 PM, Dan Drake <dr...@kaist.edu> wrote: > What's the current thinking regarding derivative() and functions of a > single variable? Right now, you don't need to specify a variable if the > function only depends on one variable, so the following works: > > sage: f(x) = x^3 + 1 > sage: derivative(f) > x |--> 3*x^2 > sage: f.derivative() > x |--> 3*x^2 > > ...but I've heard that some people would like to change that, so that in > all cases it would be necessary to specify the variable. What's the > status of that? > > This came up on ticket #10678, and is related to an article we're > working on. The article will be around for a while (we hope!), so if the > derivative() function is going to change, we want to know about it.
I say +1 to keeping this behavior. - Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org