* the variance.
*/
public NormalDistribution(double mu, double var) {
mean = mu;
if (var <= 0.0)
throw new OutOfRangeException(
"The variance should be (strictly) positive.");
variance = var;
pdfDenominator = SQRT2PI * Math.sqrt(variance);
cdfDenominator = SQRT2 * Math.sqrt(variance);
}