numGrad: Create function calculating the numerical gradient

View source: R/derivatives.R

numGradR 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)

CollinErickson/TestFunctions documentation built on Sept. 20, 2024, 10:06 a.m.