Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Random
Returns an instance of the desired random number generator
Namespace: Vts.MonteCarlo.FactoriesAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- type
- Type: Vts RandomNumberGeneratorType
RandomNumberGeneratorType enum
- seed
- Type: System Int32
integer seed for the RNG, seed=-1 -> random seed, otherwise seeded with input seed
Return Value
Type: RandomRandom
See Also