nimDerivs: Nimble Derivatives

View source: R/distributions_implementations.R

nimDerivsR Documentation

Nimble Derivatives

Description

EXPERIMENTAL Computes the value, gradient, and Hessian of a given nimbleFunction method. The R version is currently unimplemented.

Usage

nimDerivs(nimFxn = NA, order = nimC(0, 1, 2))

Arguments

nimFxn

a call to a nimbleFunction method with arguments included.

order

an integer vector with values within the set 0, 1, 2, corresponding to whether the function value, gradient, and Hessian should be returned respectively.


nimble documentation built on March 18, 2022, 8:03 p.m.