Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Double
Generate one normally (Gaussian) distributed random number by using Box Muller Algorithm (with sine/cosine)
Namespace: Vts.MonteCarlo.HelpersAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- lowerLimit
- Type:
System Double
lower limit of the uniform random number
- rng
- Type:
System Random
The random number generator
Return Value
Type:
See Also