Rev Language Reference



mvVectorSlide(Real[] x, Natural[] elements, RealPos delta, Bool tune, RealPos weight, Probability tuneTarget)


x : Real[] (<stochastic> pass by reference)
The variable on which this move operates.
elements : Natural[] (pass by reference)
The indices of elements. All are used if this is empty.
Default : [ ]
delta : RealPos (pass by value)
The window size parameter.
Default : 1
tune : Bool (pass by value)
Should we tune the window size during burnin?
Default : TRUE
weight : RealPos (pass by value)
The weight how often on average this move will be used per iteration.
Default : 1
tuneTarget : Probability (pass by value)
The acceptance probability targeted by auto-tuning.
Default : 0.44