SetAntithetic: Switch between U and 1-U variates
Description
Switches between \(U\) and \(1-U\) variates.
Usage
.lec.SetAntithetic (name, anti=FALSE)
Arguments
- name
name of the stream.
- anti
if anti=TRUE
then antithetic variates are generated (i.e. \(1-U\)), until this function is called again with anti=FALSE
.