Example usage for Java org.apache.commons.math3.distribution NormalDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
double | DEFAULT_INVERSE_ABSOLUTE_ACCURACY Default inverse cumulative probability accuracy. |
NormalDistribution(double mean, double sd) Create a normal distribution using the given mean and standard deviation. | |
NormalDistribution(double mean, double sd, double inverseCumAccuracy) Create a normal distribution using the given mean, standard deviation and inverse cumulative distribution accuracy. | |
NormalDistribution(RandomGenerator rng, double mean, double sd, double inverseCumAccuracy) Creates a normal distribution. | |
NormalDistribution() Create a normal distribution with mean equal to zero and standard deviation equal to one. |
double | cumulativeProbability(double x) If x is more than 40 standard deviations from the mean, 0 or 1 is returned, as in these cases the actual value is within Double.MIN_VALUE of 0 or 1. |
double | density(double x) |
double | getMean() Access the mean. |
double | getNumericalMean() For mean parameter mu , the mean is mu . |
double | getStandardDeviation() Access the standard deviation. |
double | inverseCumulativeProbability(final double p) The default implementation returns
|
double | probability(double x0, double x1) |
double | probability(double x) |
void | reseedRandomGenerator(long seed) |
double | sample() |
double[] | sample(int sampleSize) The default implementation generates the sample by calling #sample() in a loop. |