setBaseCreator {clrng}R Documentation

setBaseCreator

Description

Set the initial seed of the first stream.

Usage

setBaseCreator(initial = rep(12345, 6))

Arguments

initial

a vector of six 31-bit integers specifying the initial state of the first stream. Default is c(12345,12345,12345,12345,12345,12345).

Details

initial is of length 6, recycled if shorter.

Value

a stream object of class 'vclMatrix'.

Examples

library('clrng')
setBaseCreator(c(111,222,333,444,555,666))

[Package clrng version 0.0.5 Index]