Learn R Programming

clrng (version 0.0.5)

setBaseCreator: setBaseCreator

Description

Set the initial seed of the first stream.

Usage

setBaseCreator(initial = rep(12345, 6))

Value

a stream object of class 'vclMatrix'.

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.

Examples

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

Run the code above in your browser using DataLab