| RandomNumberStream(Int32, RandomNumberStreamBasicRandGenType) Constructor |
Constructs a RandomNumberStream object with the given seed and type.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public RandomNumberStream(
int seedOrDimension,
RandomNumberStreamBasicRandGenType type
)
Public Sub New (
seedOrDimension As Integer,
type As RandomNumberStreamBasicRandGenType
)
public:
RandomNumberStream(
int seedOrDimension,
RandomNumberStreamBasicRandGenType type
)
new :
seedOrDimension : int *
type : RandomNumberStreamBasicRandGenType -> RandomNumberStream
Parameters
- seedOrDimension Int32
-
If type equals Sobol or Niederr, specifies the dimension for the quasirandom generator;
otherwise, specifieds the generator seed.
- type RandomNumberStreamBasicRandGenType
- Generator type.
See Also