Carlos Córdoba <[email protected]> writes: > Anyway, the use of anonymous functions is mostly useful on constructs > that operate over lists, like map and reduce. In 10 years of using > Mathematica I've ever needed to derive this kind functions, but > nevertheless I've checked if it's possible, and indeed it is, for > example > > D[(#^2)&[x], x] > > gives 2*x.
I don't think that this implies that anonymous functions are symbolic, since (#^2)&[x] gives already x^2. MMA's evaluation rules are tricky though, I do not know whether D evaluates all it's arguments before calling. Martin -- 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 URL: http://www.sagemath.org
