ADbreak: NIMBLE language function to break tracking of derivatives

View source: R/nimbleFunction_Rexecution.R

ADbreakR Documentation

NIMBLE language function to break tracking of derivatives

Description

This function is used in a method of a nimbleFunction that has derivatives enabled. It returns its value but breaks tracking of derivatives.

Usage

ADbreak(x)

Arguments

x

scalar value

Details

This funcion only works with scalars.


nimble documentation built on Sept. 11, 2024, 7:10 p.m.