Re: [R] Computing High Order Derivatives (Numerically)

2012-03-23 Thread Petr Savicky
On Fri, Mar 23, 2012 at 12:35:57AM +0100, Gildas Mazo wrote: Dear R users, Let f be a function over d variables x1,..,xd. I want to compute the k^th-order derivative with respect to x1,..,xk (k=d). I have a by hand solution (see below) using an iterating code using D. However, I expect d

Re: [R] Computing High Order Derivatives (Numerically)

2012-03-23 Thread Gildas Mazo
Dear Petr Savicky, this helped indeed. Thank you very much. Gildas - Mail original - De: Petr Savicky savi...@cs.cas.cz À: r-help@r-project.org Envoyé: Vendredi 23 Mars 2012 09:39:37 Objet: Re: [R] Computing High Order Derivatives (Numerically) On Fri, Mar 23, 2012 at 12:35:57AM

[R] Computing High Order Derivatives (Numerically)

2012-03-22 Thread Gildas Mazo
Dear R users, Let f be a function over d variables x1,..,xd. I want to compute the k^th-order derivative with respect to x1,..,xk (k=d). I have a by hand solution (see below) using an iterating code using D. However, I expect d to be high and f to be complicated. Then I want a vector x to be