Example usage for Java org.apache.commons.math3.distribution EnumeratedIntegerDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
EnumeratedIntegerDistribution(final int[] singletons, final double[] probabilities) Create a discrete distribution using the given probability mass function definition. |
int | sample() |