How can I differentiate a function with respect to several variables and evaluate it at the same time ? I want to specify also the variable index that I want to differentiate and the number of times I do it for each one.
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
Is this what you mean?
This is to get the derivative to
|
|||||||||
|
|
Here's a way a way that avoids the syntax a bit complicated of Derivative when a function has a lot of variables.
Example
A similar function can be done to get a derivative as a pure function. I wonder if there's a way to know the number of variables of a pure or interpolated function ?
Example
|
|||
|
|

SeriesCoefficient[]quickly yields a scaled version of the derivative; figuring out what the scale factor is is left as an exercise. – 0x4A4D♦ Jun 11 '12 at 17:54