set.vector.seed {rngwell19937}R Documentation

Seeding the generator with a vector of 32 bit integers

Description

The input numbers should have integer values in the interval [0, 2^32 - 1]. They may be represented by numeric data type (double precision floating point numbers), which is actually necessary, if some of the numbers is at least 2^31. A call of set.vector.seed implies setting the "mrg32k5a" initialization.

If seed has length 1 and 0 <= seed <= 2^31 - 1, then set.vector.seed(seed) and set.seed(seed) are equivalent. If seed has length 1 and 2^31 + 1 <= seed <= 2^32 - 1, then set.vector.seed(seed) and set.seed(seed - 2^32) are equivalent.

Usage

  set.vector.seed(seed)

Arguments

seed A vector of 32 bit nonnegative integers.

Value

There is no output value.


[Package rngwell19937 version 0.5-1 Index]