MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Best syntax for derivative

Hi Aaron,

the partial differential operator is: Derivative. In your case qwe would 



hope this helps, Daniel

Aaron Fude wrote:

> Hi,


> Suppose I have a function of three variables


> f[x_, y_, z_]:=Sin[x y z]


> And I want to construct g[x, y, z] which is the partial derivative of f

> [] with respect to y. I do


> f[x_, y_, z_] := Sin[x y z]

> g[x_, y_, z_] := D[f[x, temp, z], temp] /. temp -> y


> but I'm sure there is something better. Something along the lines of


> g = Partial[f, 2]


> Many thanks in advance.


> Aaron


  • Prev by Date: Re: copy/paste of exponents
  • Next by Date: Re: NDSolve and step-size control
  • Previous by thread: Re: Best syntax for derivative
  • Next by thread: Re: Best syntax for derivative