Stan Math Library
5.0.0
Automatic Differentiation
|
Return the floating point remainder after dividing the the first variable by the second scalar (cmath).
The derivative with respect to the variable is
\(\frac{d}{d x} \mbox{fmod}(x, c) = \frac{1}{c}\).
a | First variable. |
b | Second scalar. |