A vector of length n containing the drift evaluated at x.
Arguments
x
a vector of length n containing angles. They all must be in \([\pi,\pi)\) so that the truncated wrapping by maxK windings is able to capture periodicity.
alpha
drift parameter.
mu
mean parameter. Must be in \([\pi,\pi)\).
sigma
diffusion coefficient.
maxK
maximum absolute value of the windings considered in the computation of the WN.
expTrc
truncation for exponential: exp(x) with x <= -expTrc is set to zero. Defaults to 30.