RcppArmadillo (version 0.7.200.2.0)

armadillo_set_seed_random: Set the Armadillo Random Number Generator to a random value

Description

Set the Armadillo Random Number Generator to a random value

Usage

armadillo_set_seed_random()

Arguments

Value

The function is invoked for its side effect and has no return value.

Details

Depending on whether RcppArmadillo was compiled for the C++98 standard (currently the default) or for C++11 (optional), two different RNGs may be used. This function resets either. For C++98, the system library RNG is used. It may have poor performance, particularly on older versions of Windows. For C++11, the RNG included in its library is used.

See Also

The R documentation on its RNGs all of which are accessible via Rcpp.