Example usage for Java org.apache.commons.math3.distribution IntegerDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
double | cumulativeProbability(int x) For a random variable X whose values are distributed according to this distribution, this method returns P(X <= x) . |
double | getNumericalMean() Use this method to get the numerical value of the mean of this distribution. |
int | getSupportLowerBound() Access the lower bound of the support. |
int | getSupportUpperBound() Access the upper bound of the support. |
double | probability(int x) For a random variable X whose values are distributed according to this distribution, this method returns P(X = x) . |
void | reseedRandomGenerator(long seed) Reseed the random generator used to generate samples. |
int | sample() Generate a random value sampled from this distribution. |
int[] | sample(int sampleSize) Generate a random sample from the distribution. |
String | toString() Returns a string representation of the object. |