Re: Partial derivation with regards to variables in a list
- To: mathgroup at smc.vnet.net
- Subject: [mg51023] Re: Partial derivation with regards to variables in a list
- From: "Peter Pein" <petsie at arcor.de>
- Date: Fri, 1 Oct 2004 04:50:06 -0400 (EDT)
- References: <cjgimt$q6i$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Christopher grinde" <christopher.grinde at hive.no> schrieb im Newsbeitrag news:cjgimt$q6i$1 at smc.vnet.net... > Hello. > > I need to find the partial derivative with regards to variables in a list. > > The straight forward syntax would be > D[f[a,b,c,d,e,],a,b,c,d,e] > > My problem is that I don't know the variables up front of finding the > derivative. > > I've tried Apply[], but as I am quite new to Mathematica, I haven't been > able to use Apply[] with functions with more than one argument. > > Please advice. > > -- > Christopher Grinde > Apply[D,Prepend[f[a,b,c,d,e],{a,b,c,d,e}] or, slightly more general (and less typing): D @@ Flatten[{f[a, b, c], {{a, 2}, b, {c, 3}}}, 1] to obtain multiple derivatives -- Peter Pein, Berlin to write to me, start the subject with [