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

Packages that use NonMonotonicSequenceException
Package
Description
org.apache.commons.math3.analysis.function
The `function` package contains function objects that wrap the methods contained in `Math`, as well as common mathematical functions such as the gaussian and sinc functions.
org.apache.commons.math3.analysis.integration.gauss
Gauss family of quadrature schemes.
org.apache.commons.math3.analysis.interpolation
Univariate real functions interpolation algorithms.
org.apache.commons.math3.analysis.polynomials
Univariate real polynomials implementations, seen as differentiable univariate real functions.
org.apache.commons.math3.transform
Implementations of transform methods, including Fast Fourier transforms.
org.apache.commons.math3.util
Convenience routines and common data structures used throughout the commons-math library.

## Uses of NonMonotonicSequenceException in org.apache.commons.math3.analysis.function

Constructors in org.apache.commons.math3.analysis.function that throw NonMonotonicSequenceException
Modifier
Constructor
Description
``
`StepFunction(double[] x, double[] y)`
Builds a step function from a list of arguments and the corresponding values.

## Uses of NonMonotonicSequenceException in org.apache.commons.math3.analysis.integration.gauss

Constructors in org.apache.commons.math3.analysis.integration.gauss that throw NonMonotonicSequenceException
Modifier
Constructor
Description
``
`GaussIntegrator(double[] points, double[] weights)`
Creates an integrator from the given `points` and `weights`.
``
`GaussIntegrator(Pair<double[],double[]> pointsAndWeights)`
Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.
``
`SymmetricGaussIntegrator(double[] points, double[] weights)`
Creates an integrator from the given `points` and `weights`.
``
`SymmetricGaussIntegrator(Pair<double[],double[]> pointsAndWeights)`
Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.

## Uses of NonMonotonicSequenceException in org.apache.commons.math3.analysis.interpolation

Methods in org.apache.commons.math3.analysis.interpolation that throw NonMonotonicSequenceException
Modifier and Type
Method
Description
`protected static double[]`
DividedDifferenceInterpolator.`computeDividedDifference(double[] x, double[] y)`
Return a copy of the divided difference array.
`PolynomialSplineFunction`
AkimaSplineInterpolator.`interpolate(double[] xvals, double[] yvals)`
Computes an interpolating function for the data set.
`BicubicInterpolatingFunction`
BicubicInterpolator.`interpolate(double[] xval, double[] yval, double[][] fval)`
Compute an interpolating function for the dataset.
`BicubicSplineInterpolatingFunction`
BicubicSplineInterpolator.`interpolate(double[] xval, double[] yval, double[][] fval)`
Deprecated.
Compute an interpolating function for the dataset.
`BivariateFunction`
BivariateGridInterpolator.`interpolate(double[] xval, double[] yval, double[][] fval)`
Compute an interpolating function for the dataset.
`PolynomialFunctionNewtonForm`
DividedDifferenceInterpolator.`interpolate(double[] x, double[] y)`
Compute an interpolating function for the dataset.
`PolynomialSplineFunction`
LinearInterpolator.`interpolate(double[] x, double[] y)`
Computes a linear interpolating function for the data set.
`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.
`PolynomialFunctionLagrangeForm`
NevilleInterpolator.`interpolate(double[] x, double[] y)`
Computes an interpolating function for the data set.
`PiecewiseBicubicSplineInterpolatingFunction`
PiecewiseBicubicSplineInterpolator.`interpolate(double[] xval, double[] yval, double[][] fval)`
Compute an interpolating function for the dataset.
`BicubicSplineInterpolatingFunction`
SmoothingPolynomialBicubicSplineInterpolator.`interpolate(double[] xval, double[] yval, double[][] fval)`
Deprecated.
Compute an interpolating function for the dataset.
`PolynomialSplineFunction`
SplineInterpolator.`interpolate(double[] x, double[] y)`
Computes an interpolating function for the data set.
`TricubicInterpolatingFunction`
TricubicInterpolator.`interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval)`
Compute an interpolating function for the dataset.
`TricubicSplineInterpolatingFunction`
TricubicSplineInterpolator.`interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval)`
Deprecated.
Compute an interpolating function for the dataset.
`TrivariateFunction`
TrivariateGridInterpolator.`interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval)`
Compute an interpolating function for the dataset.
`UnivariateFunction`
UnivariatePeriodicInterpolator.`interpolate(double[] xval, double[] yval)`
Compute an interpolating function for the dataset.
`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.
Constructors in org.apache.commons.math3.analysis.interpolation that throw NonMonotonicSequenceException
Modifier
Constructor
Description
``
`BicubicInterpolatingFunction(double[] x, double[] y, double[][] f, double[][] dFdX, double[][] dFdY, double[][] d2FdXdY)`
``
`BicubicSplineInterpolatingFunction(double[] x, double[] y, double[][] f, double[][] dFdX, double[][] dFdY, double[][] d2FdXdY)`
Deprecated.
``
`BicubicSplineInterpolatingFunction(double[] x, double[] y, double[][] f, double[][] dFdX, double[][] dFdY, double[][] d2FdXdY, boolean initializeDerivatives)`
Deprecated.
``
`PiecewiseBicubicSplineInterpolatingFunction(double[] x, double[] y, double[][] f)`
``
`TricubicInterpolatingFunction(double[] x, double[] y, double[] z, double[][][] f, double[][][] dFdX, double[][][] dFdY, double[][][] dFdZ, double[][][] d2FdXdY, double[][][] d2FdXdZ, double[][][] d2FdYdZ, double[][][] d3FdXdYdZ)`
``
`TricubicSplineInterpolatingFunction(double[] x, double[] y, double[] z, double[][][] f, double[][][] dFdX, double[][][] dFdY, double[][][] dFdZ, double[][][] d2FdXdY, double[][][] d2FdXdZ, double[][][] d2FdYdZ, double[][][] d3FdXdYdZ)`
Deprecated.

## Uses of NonMonotonicSequenceException in org.apache.commons.math3.analysis.polynomials

Methods in org.apache.commons.math3.analysis.polynomials that throw NonMonotonicSequenceException
Modifier and Type
Method
Description
`static double`
PolynomialFunctionLagrangeForm.`evaluate(double[] x, double[] y, double z)`
Evaluate the Lagrange polynomial using Neville's Algorithm.
`static boolean`
PolynomialFunctionLagrangeForm.`verifyInterpolationArray(double[] x, double[] y, boolean abort)`
Check that the interpolation arrays are valid.
Constructors in org.apache.commons.math3.analysis.polynomials that throw NonMonotonicSequenceException
Modifier
Constructor
Description
``
`PolynomialFunctionLagrangeForm(double[] x, double[] y)`
Construct a Lagrange polynomial with the given abscissas and function values.
``
`PolynomialSplineFunction(double[] knots, PolynomialFunction[] polynomials)`
Construct a polynomial spline function with the given segment delimiters and interpolating polynomials.

## Uses of NonMonotonicSequenceException in org.apache.commons.math3.transform

Methods in org.apache.commons.math3.transform that throw NonMonotonicSequenceException
Modifier and Type
Method
Description
`double[]`
RealTransformer.`transform(UnivariateFunction f, double min, double max, int n, TransformType type)`
Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval.

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

Methods in org.apache.commons.math3.util that throw NonMonotonicSequenceException
Modifier and Type
Method
Description
`static void`
MathArrays.`checkOrder(double[] val)`
Check that the given array is sorted in strictly increasing order.
`static void`
MathArrays.`checkOrder(double[] val, MathArrays.OrderDirection dir, boolean strict)`
Check that the given array is sorted.
`static boolean`
MathArrays.`checkOrder(double[] val, MathArrays.OrderDirection dir, boolean strict, boolean abort)`
Check that the given array is sorted.