lib/gaussian.js
function(mean, variance) {
    if (variance <= 0) {
      throw new Error('Variance must be > 0 (but was ' + variance + ')');
    }
    this.mean = mean;
    this.variance = variance;
    this.standardDeviation = Math.sqrt(variance);
  }
function(mean, variance) {
    if (variance <= 0) {
      throw new Error('Variance must be > 0 (but was ' + variance + ')');
    }
    this.mean = mean;
    this.variance = variance;
    this.standardDeviation = Math.sqrt(variance);
  }
function ( mean , variance ) { if ( variance <= 0 ) { throw new Error ( 'Variance must be > 0 (but was ' + variance + ')' ) ; } this . mean = mean ; this . variance = variance ; this . standardDeviation = Math . sqrt ( variance ) ; }
Models the normal distribution
Models the normal distribution