Re: Derivative of a function with multiple variables

• To: mathgroup at smc.vnet.net
• Subject: [mg69488] Re: Derivative of a function with multiple variables
• From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
• Date: Thu, 14 Sep 2006 06:55:10 -0400 (EDT)
• Organization: Uni Leipzig
• References: <ee8grk\$itd\$1@smc.vnet.net>

Hi,

Outer[D, D[f[x, y, z], #] & /@ {x, y, z}, {x, y,
z}]

???

Regards

Jens

"Adel Elsabbagh" <aelsabbagh at gmail.com> schrieb im
Newsbeitrag news:ee8grk\$itd\$1 at smc.vnet.net...
| Hi all,
|
| I am sure this is easy to many of you
|
| Assume I have f = f[x,y,z]
| I would like to construct a simple function
g[f[x,y,z]] that will
| generate the Hessian. i.e.
| g[f[x,y,z]]=
| {{Derivative[2,0,0][f][x,y,z],
Derivative[1,1,0][f][x,y,z],
| Derivative[1,0,1][f][x,y,z]},
| {Derivative[1,1,0][f][x,y,z],
Derivative[0,2,0][f][x,y,z],
| Derivative[0,1,1][f][x,y,z]},
| {Derivative[1,0,1][f][x,y,z],
Derivative[0,1,1][f][x,y,z],
| Derivative[0,0,2][f][x,y,z]}}.
|
| Any help?
|
| --