# Rev Language Reference

## mvVectorBinarySwitch

### Usage

mvVectorBinarySwitch(Natural[] x, Probability p, Natural[] elements, Bool tune, RealPos weight, Probability tuneTarget)

### Arguments

 x : Natural[] ( pass by reference) The variable on which this move operates. p : Probability (pass by reference) The probability of applying the move to each element. Default : 1 elements : Natural[] (pass by reference) The indices of elements. All are used if this is empty. Default : [ ] 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