Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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



  • Prev by Date: Re: unevaluated, hold, holdform
  • Next by Date: Suggestion to WRI for notebook navigation (frontend)
  • 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