Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fmod() [9/10]

var stan::math::fmod ( const var a,
double  b 
)
inline

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}\).

Parameters
aFirst variable.
bSecond scalar.
Returns
Floating pointer remainder of dividing the first variable by the second scalar.

Definition at line 117 of file fmod.hpp.