Package qa.generator.distributions
Class QAGamma
java.lang.Object
qa.generator.distributions.QADistribution
qa.generator.distributions.QAGamma
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected double[]createValues(int nValues) Generate a set of random values according to the underlying distribution.double[]getRange(double nSigma) Get the range of the distrubution.toString()Methods inherited from class qa.generator.distributions.QADistribution
getRange, getValues, isIntegrate, isSort, setIntegrate, setSort 
- 
Constructor Details
- 
QAGamma
public QAGamma(double mean, double width)  - 
QAGamma
public QAGamma(boolean sort, double mean, double width)  - 
QAGamma
public QAGamma(boolean sort, boolean integrate, double mean, double width)  
 - 
 - 
Method Details
- 
getRange
public double[] getRange(double nSigma) Description copied from class:QADistributionGet 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:
 getRangein classQADistribution- Parameters:
 nSigma- number of Standard Deviations (or equivalents).- Returns:
 - The range of values.
 
 - 
createValues
protected double[] createValues(int nValues) Description copied from class:QADistributionGenerate a set of random values according to the underlying distribution.Do not sort or integrate within createValues, that wil be handled by the calling getValues function
- Specified by:
 createValuesin classQADistribution- Parameters:
 nValues- number of values to generate.- Returns:
 - array of values.
 
 - 
toString
 
 -