gradient: Compute gradient of a function

Description Usage Arguments

Description

Compute gradient of a function

Usage

1
2
gradient(f, x, eps = 1e-04, d = 1e-04, r = 4,
  zero_tol = sqrt(.Machine$double.eps/7e-07))

Arguments

f

Function

x

Point to compute gradient at

eps

See numDeriv::grad

d

see numDeriv::grad

r

see numDeriv::grad

zero_tol

see numDeriv::grad


richfitz/grader documentation built on May 27, 2019, 8:18 a.m.