public void setMean ( double mean ) { if ( Double . isInfinite ( mean ) || Double . isNaN ( mean ) ) throw new ArithmeticException ( "Mean must be a real number, not " + mean ) ; ( ( Normal ) getDistribution ( ) ) . setMean ( mean ) ; }
Sets the mean value used for the normal distribution