VPSourceToolbox GetSingleNormallyDistributedRandomNumber Method Virtual Photonics - VTS Library
Virtual Photonics
Generate one normally (Gaussian) distributed random number by using Box Muller Algorithm (with sine/cosine)

Namespace: Vts.MonteCarlo.Helpers
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static double GetSingleNormallyDistributedRandomNumber(
	double lowerLimit,
	Random rng
)

Return Value

Type: OnlineDouble
See Also