Package qa.generator.distributions
Class QAGaussian
java.lang.Object
qa.generator.distributions.QADistribution
qa.generator.distributions.QAGaussian
-
Constructor Summary
ConstructorDescriptionQAGaussian
(boolean sort, boolean integrate, double mean, double sigma) QAGaussian
(boolean sort, double mean, double sigma) QAGaussian
(double mean, double sigma) -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
getRange
(double nSigma) Get the range of the distrubution.Methods inherited from class qa.generator.distributions.QADistribution
getRange, getValues, isIntegrate, isSort, setIntegrate, setSort
-
Constructor Details
-
QAGaussian
public QAGaussian(double mean, double sigma) -
QAGaussian
public QAGaussian(boolean sort, double mean, double sigma) -
QAGaussian
public QAGaussian(boolean sort, boolean integrate, double mean, double sigma)
-
-
Method Details
-
getRange
public double[] getRange(double nSigma) Description copied from class:QADistribution
Get the range of the distrubution. How this is defined is a little nebulous, for Guassian like distributions its the mean +/- n standard deviations.- Specified by:
getRange
in classQADistribution
- Parameters:
nSigma
- number of Standard Deviations (or equivalents).- Returns:
- The range of values.
-