MathGroup Archive 2004

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

Search the Archive

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
> 
> 


  • Prev by Date: Suggestion to WRI for notebook navigation (frontend)
  • Next by Date: Re: Re: Re: Courier New Button, selecting cells without brackets
  • Previous by thread: Re: Partial derivation with regards to variables in a list
  • Next by thread: Re: Partial derivation with regards to variables in a list