This function rounds an input x
down to the nearest multiple of some number
f
. For example, if f = 0.2
and x = 1.5
then the output would be 1.4.
If f = 1
then floor_mult
behaves as floor
. If f = 0
then x
is
returned.
See also
Other utils:
epidist_stan_chunk()
,
epidist_version_stanvar()