Re: Partial derivation with regards to variables in a list
- To: mathgroup at smc.vnet.net
- Subject: [mg50993] Re: [mg50981] Partial derivation with regards to variables in a list
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 1 Oct 2004 04:48:08 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
expr=f[a, b, c, d, e]; var = Union[Cases[expr, _Symbol?(!NumericQ[#]&), Infinity]]; Fold[D[#1, #2]&, expr, var] Derivative[1, 1, 1, 1, 1][f][a, b, c, d, e] Bob Hanlon > > From: Christopher grinde <christopher.grinde at hive.no> To: mathgroup at smc.vnet.net > Date: 2004/09/30 Thu AM 04:52:45 EDT > To: mathgroup at smc.vnet.net > Subject: [mg50993] [mg50981] Partial derivation with regards to variables in a list > > 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 > >