This script generates random numbers along a Normal or Log-normal distribution using the Marsaglia polar method.
normalRandom
: Generate random numbers that follow a Normal distribution.normalRandomInRange
: Generate random numbers that follow a Normal distribution but are clipped to fit within a rangenormalRandomScaled
: Generate random numbers that follow a Normal distribution with a given mean and standard deviationlnRandomScaled
: Generate random numbers that follow a Log-normal distribution with a given geometric mean and geometric standard deviation