sitmo_engine_reset: Example Seed Set and RNG Draws with sitmo

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Shows how to set a seed in sitmo.

Usage

1

Arguments

n

An unsigned int that dictates how many realizations occur.

seed

An unsigned int that controls the rng seed.

Value

A matrix with random sequences.

Examples

1
2
3
4
n = 10
a = sitmo_engine_reset(n, 1337)

isTRUE(all.equal(a[,1],a[,2]))

coatless/sitmo documentation built on May 13, 2019, 8:47 p.m.