# Uses of Class
org.apache.commons.math3.exception.NotANumberException

Packages that use NotANumberException
Package
Description
org.apache.commons.math3.distribution
Implementations of common discrete and continuous distributions.
org.apache.commons.math3.random
Random number and random data generators.
org.apache.commons.math3.util
Convenience routines and common data structures used throughout the commons-math library.

## Uses of NotANumberException in org.apache.commons.math3.distribution

Constructors in org.apache.commons.math3.distribution that throw NotANumberException
Modifier
Constructor
Description
``
`EnumeratedDistribution(List<Pair<T,Double>> pmf)`
Create an enumerated distribution using the given probability mass function enumeration.
``
`EnumeratedDistribution(RandomGenerator rng, 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 using the given probability mass function definition.
``
`EnumeratedIntegerDistribution(RandomGenerator rng, int[] singletons, double[] probabilities)`
Create a discrete distribution using the given random number generator and probability mass function definition.
``
`EnumeratedRealDistribution(double[] singletons, double[] probabilities)`
Create a discrete real-valued distribution using the given probability mass function enumeration.
``
`EnumeratedRealDistribution(RandomGenerator rng, double[] singletons, double[] probabilities)`
Create a discrete real-valued distribution using the given random number generator and probability mass function enumeration.

## Uses of NotANumberException in org.apache.commons.math3.random

Methods in org.apache.commons.math3.random that throw NotANumberException
Modifier and Type
Method
Description
`double`
RandomData.`nextUniform(double lower, double upper)`
Deprecated.
Generates a uniformly distributed random value from the open interval `(lower, upper)` (i.e., endpoints excluded).
`double`
RandomData.`nextUniform(double lower, double upper, boolean lowerInclusive)`
Deprecated.
Generates a uniformly distributed random value from the interval `(lower, upper)` or the interval `[lower, upper)`.
`double`
RandomDataGenerator.`nextUniform(double lower, double upper)`
Generates a uniformly distributed random value from the open interval `(lower, upper)` (i.e., endpoints excluded).
`double`
RandomDataGenerator.`nextUniform(double lower, double upper, boolean lowerInclusive)`
Generates a uniformly distributed random value from the interval `(lower, upper)` or the interval `[lower, upper)`.
`double`
RandomDataImpl.`nextUniform(double lower, double upper)`
Deprecated.
Generates a uniformly distributed random value from the open interval `(lower, upper)` (i.e., endpoints excluded).
`double`
RandomDataImpl.`nextUniform(double lower, double upper, boolean lowerInclusive)`
Deprecated.
Generates a uniformly distributed random value from the interval `(lower, upper)` or the interval `[lower, upper)`.

## Uses of NotANumberException in org.apache.commons.math3.util

Methods in org.apache.commons.math3.util that throw NotANumberException
Modifier and Type
Method
Description
`static void`
MathArrays.`checkNotNaN(double[] in)`
Check that no entry of the input array is `NaN`.