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