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.
|
Modifier and Type | Method and Description |
---|---|
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. |
double[] |
LoessInterpolator.smooth(double[] xval,
double[] yval)
Compute a loess fit on the data at the original abscissae.
|
double[] |
LoessInterpolator.smooth(double[] xval,
double[] yval,
double[] weights)
Compute a weighted loess fit on the data at the original abscissae.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
double |
RandomDataGenerator.nextUniform(double lower,
double upper)
Generates a uniformly distributed random value from the open interval
(lower, upper) (i.e., endpoints excluded). |
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 |
RandomDataImpl.nextUniform(double lower,
double upper)
Deprecated.
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 |
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 |
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) . |
Modifier and Type | Method and 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.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.