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

Packages that use NotFiniteNumberException
Package
Description
org.apache.commons.math3.analysis.interpolation
Univariate real functions interpolation algorithms.
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 NotFiniteNumberException in org.apache.commons.math3.analysis.interpolation

Methods in org.apache.commons.math3.analysis.interpolation that throw NotFiniteNumberException
Modifier and Type
Method
Description
`final PolynomialSplineFunction`
LoessInterpolator.`interpolate(double[] xval, double[] yval)`
Compute an interpolating function by performing a loess fit on the data at the original abscissae and then building a cubic spline with a `SplineInterpolator` on the resulting fit.
`final double[]`
LoessInterpolator.`smooth(double[] xval, double[] yval)`
Compute a loess fit on the data at the original abscissae.
`final double[]`
LoessInterpolator.`smooth(double[] xval, double[] yval, double[] weights)`
Compute a weighted loess fit on the data at the original abscissae.

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

Constructors in org.apache.commons.math3.distribution that throw NotFiniteNumberException
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 NotFiniteNumberException in org.apache.commons.math3.random

Methods in org.apache.commons.math3.random that throw NotFiniteNumberException
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 NotFiniteNumberException in org.apache.commons.math3.util

Methods in org.apache.commons.math3.util that throw NotFiniteNumberException
Modifier and Type
Method
Description
`static void`
MathUtils.`checkFinite(double x)`
Check that the argument is a real number.
`static void`
MathUtils.`checkFinite(double[] val)`
Check that all the elements are real numbers.