numGrad: Create function calculating the numerical gradient

Description Usage Arguments Value Examples

View source: R/derivatives.R

Description

Create function calculating the numerical gradient

Usage

1
numGrad(func, ...)

Arguments

func

Function to get gradient of.

...

Arguments passed to numDeriv::grad().

Value

A gradient function

Examples

1

Example output

function (x) 
{
    numDeriv::grad(func = func, x = x, ...)
}
<environment: 0x2b04120>

TestFunctions documentation built on May 2, 2019, 2:42 a.m.