R/second.order.num.deriv.R

Defines functions second.order.num.deriv

second.order.num.deriv <- function(f, x, epsilon, ...)
{
	(f(x + epsilon, ...) - 2 * f(x, ...) + f(x - epsilon, ...)) / (epsilon * epsilon)
}

Try the rodd package in your browser

Any scripts or data that you put into this service are public.

rodd documentation built on May 2, 2019, 8:16 a.m.