Learn R Programming

nimble (version 1.2.1)

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