[R-sig-Epi] How to calculate the nth derivative of a function

Greg Snow Greg.Snow at intermountainmail.org
Thu Sep 27 19:19:20 CEST 2007


You may want to look at the Ryacas package.  This uses and outside
toolset to do the work, but in this case I think that is the better
approach.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111
 
 

> -----Original Message-----
> From: r-sig-epi-bounces at stat.math.ethz.ch 
> [mailto:r-sig-epi-bounces at stat.math.ethz.ch] On Behalf Of 
> Patricia Geli
> Sent: Thursday, September 27, 2007 6:42 AM
> To: r-sig-epi at stat.math.ethz.ch
> Subject: [R-sig-Epi] How to calculate the nth derivative of a function
> 
> Hi,
> 
> I have a short question regarding derivatives of functions in 
> R. The problem is that I need the nth derivative of the 
> function, where n is around 100, and the packages I have 
> managed to find which deals with derivatives in R will only 
> take the first derivative of the function. Repeating these 
> methods a 100 times won't solve the problem either, since the 
> first derivative of a numerical function gives me a scalar as 
> output. Does anyone know how to solve this problem? I'm 
> grateful for any advice!
> 
> Patricia
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Epi at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-sig-epi
> 



More information about the R-sig-Epi mailing list