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)

TestFunctions documentation built on Sept. 30, 2024, 9:31 a.m.