Given a [xmin,xmax[ or ]xmin,xmax] interval, this function
determines the remainder of each numeric relative to this interval. In other
words if the interval was repeated over the whole numeric domain, this
function determines where each value would be positioned in a given
repetition.
Usage
fmod(x, xmax, xmin = 0, bounds = "[[")
Arguments
x
vector of floating point numbers
xmax, xmin
the limits of the interval
bounds
how to deal with boundaries (right- or left-open; '[['
or ']]')