To sample from a normal distribution, use the normal(mean,
stdev, stream) function. The following returns a value from a
normally distributed set with a mean of and a standard deviation of
using stream
.
double i = samplesource.normal(50, 3.55, 4);