functioninitGeneratorWrap

initializes a RNG generator, returning its single components

Information

initGeneratorWrap

Initializes the random number generator (returning its components separately)

Syntax

initGeneratorWrap()

Description

Reads the value of the package seed, initializes the Generator and updates the package seed.
This function can be used if the components of the CMRG generator are declared using independent variables, instead of a record.

Examples

(g.Cg1,g.Cg2,g.Cg3,g.Cg4,g.Cg5,g.Cg6,
g.Bg1,g.Bg2,g.Bg3,g.Bg4,g.Bg5,g.Bg6
g.Ig1,g.Ig2,g.Ig3,g.Ig4,g.Ig5,g.Ig6
g.Anti,g.IncPrec) := Variates.initGeneratorWrap();

Outputs

TypeNameDefaultDescription
RealCg1
RealCg2
RealCg3
RealCg4
RealCg5
RealCg6
RealBg1
RealBg2
RealBg3
RealBg4
RealBg5
RealBg6
RealIg1
RealIg2
RealIg3
RealIg4
RealIg5
RealIg6
IntegerAnti
IntegerIncPrec