View source: R/nimbleFunction_Rexecution.R
pow_int | R Documentation |
pow function with exponent required to be integer
pow_int(a, b)
a |
Base |
b |
Exponent |
This is required in nimble models and nimbleFunctions if derivatives will be tracked but tracked only with respect to a, such that b might be any (positive, 0, or negative) integer. This contrasts with pow(a, b) (equivalent to a^b), which requires b > 0 if derivatives will be tracked, even if they will only be requested with respect to a.
a^b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.