partial derivate of a function of vector variable
- To: mathgroup at smc.vnet.net
- Subject: [mg108598] partial derivate of a function of vector variable
- From: atlas shrugger <ashrugger at gmail.com>
- Date: Thu, 25 Mar 2010 04:22:47 -0500 (EST)
Hi,
Let's say have function f of vector variable x.
f[x_] := x[[1]]^2 + x[[2]]^2
How to compute partial derivate by x_1?
Something like D[f[x], {{x[[1]]}}] does not work.
I don't want to rewrite function f as f[x1_,x2_].
Thanks for help.