Constructor for G05State class
Syntax
C# |
---|
public G05State( int genid, int subid, out int ifail ) |
Visual Basic |
---|
Public Sub New ( _ genid As Integer, _ subid As Integer, _ <OutAttribute> ByRef ifail As Integer _ ) |
Visual C++ |
---|
public: G05State( int genid, int subid, [OutAttribute] int% ifail ) |
F# |
---|
new : genid : int * subid : int * ifail : int byref -> G05State |
Parameters
- genid
- Type: System..::..Int32On entry: must contain the type of base generator to use.
- NAG basic generator.
- Wichmann Hill I generator.
- Mersenne Twister.
- Wichmann Hill II generator.
- ACORN generator.
- L'Ecuyer MRG32k3a generator.
See the G05 class for details of each of the base generators.Constraint: , , , , or .
- subid
- Type: System..::..Int32On entry: if , subid indicates which of the sub-generators to use. In this case, the sub-generator is used.If , subid indicates the values of and to use, where is the order of the generator, and controls the size of the modulus, , with . If , the default values of and are used, otherwise values for and are calculated from the formula, .If and the range of the generator is set to , otherwise the range is set to ; in this case the sequence is identical to the implementation of MRG32k3a in TestU01 (see L'Ecuyer and Simard (2002)) for identical seeds.
- ifail
- Type: System..::..Int32%On exit: or unless the method detects an error or a warning has been flagged (see [Error Indicators and Warnings]).