Setter functions for the internal Armadillo random number generator
armadillo_set_seed_random()armadillo_set_seed(val)
The function is invoked for its side effect and has no return value.
The seed used to initialize Armadillo's random number generator.
Armadillo can switch between two random number generator implementations depending
on the compilation standard used. Under normal circumstances RcppArmadillo will connect
Armadillo to the R random number generator which also implies that set.seed()
should be used from R. To use this function, one also needs to undefine ARMA_RNG_ALT
so that the Armadillo generators are used.
The R documentation on its RNGs all of which are accessible via Rcpp.