| Package | Description |
|---|---|
| org.apache.commons.math4.distribution |
Implementations of common discrete and continuous distributions.
|
| org.apache.commons.math4.util |
Convenience routines and common data structures used throughout the commons-math library.
|
| Constructor | Description |
|---|---|
EnumeratedDistribution(List<Pair<T,Double>> pmf) |
Create an enumerated distribution using the given random number generator
and probability mass function enumeration.
|
EnumeratedIntegerDistribution(int[] singletons,
double[] probabilities) |
Create a discrete distribution.
|
EnumeratedRealDistribution(double[] singletons,
double[] probabilities) |
Create a discrete real-valued distribution using the given random number generator
and probability mass function enumeration.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
MathArrays.checkNotNaN(double[] in) |
Check that no entry of the input array is
NaN. |
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.