derivative: Derivative

Description Usage Arguments

Description

Takes the approximate derivative for a given function

Usage

1
derivative(g, x, delta = 1e-07)

Arguments

g

the derivative of the function to minimize, where dg(u, ...) is the function evaluated at u.

x

value to evaluate the derivative at

delta

defaults to 10e-8


MGallow/statr documentation built on May 7, 2019, 2:04 p.m.