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 May 29, 2024, 11 a.m.