numGrad {TestFunctions}R Documentation

Create function calculating the numerical gradient

Description

Create function calculating the numerical gradient

Usage

numGrad(func, ...)

Arguments

func

Function to get gradient of.

...

Arguments passed to numDeriv::grad().

Value

A gradient function

Examples

numGrad(sin)

[Package TestFunctions version 0.2.1 Index]