nimble (version 0.7.0)

nimDerivs: 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.