EXPERIMENTAL Computes the value, gradient, and Hessian of a given nimbleFunction
method. The R version is currently unimplemented.
nimDerivs(nimFxn = NA, order = nimC(0, 1, 2))
a call to a nimbleFunction
method with arguments included.
an integer vector with values within the set 0, 1, 2, corresponding to whether the function value, gradient, and Hessian should be returned respectively.