TestFunctions (version 0.2.1)

numGrad: Create function calculating the numerical gradient

Description

Create function calculating the numerical gradient

Usage

numGrad(func, ...)

Value

A gradient function

Arguments

func

Function to get gradient of.

...

Arguments passed to numDeriv::grad().

Examples

Run this code
numGrad(sin)

Run the code above in your browser using DataLab