View source: R/createStreamsGpu.R
setBaseCreator | R Documentation |
Set the initial seed of the first stream.
setBaseCreator(initial = rep(12345, 6))
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). |
initial
is of length 6, recycled if shorter.
a stream object of class 'vclMatrix'.
library('clrng')
setBaseCreator(c(111,222,333,444,555,666))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.