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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Cg1 | ||
| Real | Cg2 | ||
| Real | Cg3 | ||
| Real | Cg4 | ||
| Real | Cg5 | ||
| Real | Cg6 | ||
| Real | Bg1 | ||
| Real | Bg2 | ||
| Real | Bg3 | ||
| Real | Bg4 | ||
| Real | Bg5 | ||
| Real | Bg6 | ||
| Real | Ig1 | ||
| Real | Ig2 | ||
| Real | Ig3 | ||
| Real | Ig4 | ||
| Real | Ig5 | ||
| Real | Ig6 | ||
| Integer | Anti | ||
| Integer | IncPrec |