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

Packages that use MathIllegalStateException
Package
Description
org.apache.commons.math3.complex
Complex number type and implementations of complex transcendental functions.
org.apache.commons.math3.exception
Specialized exceptions for algorithms errors.
org.apache.commons.math3.fraction
Fraction number type and fraction number formatting.
org.apache.commons.math3.geometry.euclidean.threed
This package provides basic 3D geometry components.
org.apache.commons.math3.geometry.spherical.twod
This package provides basic geometry components on the 2-sphere.
org.apache.commons.math3.ode
This package provides classes to solve Ordinary Differential Equations problems.
org.apache.commons.math3.optim.linear
Optimization algorithms for linear constrained problems.
org.apache.commons.math3.optimization.linear
This package provides optimization algorithms for linear constrained problems.
org.apache.commons.math3.random
Random number and random data generators.
org.apache.commons.math3.stat.descriptive
Generic univariate summary statistic objects.
org.apache.commons.math3.stat.descriptive.moment
Summary statistics based on moments.
org.apache.commons.math3.util
Convenience routines and common data structures used throughout the commons-math library.

## Uses of MathIllegalStateException in org.apache.commons.math3.complex

Methods in org.apache.commons.math3.complex that throw MathIllegalStateException
Modifier and Type
Method
Description
`double`
RootsOfUnity.`getImaginary(int k)`
Get the imaginary part of the `k`-th `n`-th root of unity.
`double`
RootsOfUnity.`getReal(int k)`
Get the real part of the `k`-th `n`-th root of unity.
`boolean`
RootsOfUnity.`isCounterClockWise()`
Returns `true` if `RootsOfUnity.computeRoots(int)` was called with a positive value of its argument `n`.

## Uses of MathIllegalStateException in org.apache.commons.math3.exception

Subclasses of MathIllegalStateException in org.apache.commons.math3.exception
Modifier and Type
Class
Description
`class`
`ConvergenceException`
Error thrown when a numerical computation can not be performed because the numerical result failed to converge to a finite value.
`class`
`MathInternalError`
Exception triggered when something that shouldn't happen does happen.
`class`
`MathParseException`
Class to signal parse failures.
`class`
`MaxCountExceededException`
Exception to be thrown when some counter maximum value is exceeded.
`class`
`TooManyEvaluationsException`
Exception to be thrown when the maximal number of evaluations is exceeded.
`class`
`TooManyIterationsException`
Exception to be thrown when the maximal number of iterations is exceeded.

## Uses of MathIllegalStateException in org.apache.commons.math3.fraction

Subclasses of MathIllegalStateException in org.apache.commons.math3.fraction
Modifier and Type
Class
Description
`class`
`FractionConversionException`
Error thrown when a double value cannot be converted to a fraction in the allowed number of iterations.

## Uses of MathIllegalStateException in org.apache.commons.math3.geometry.euclidean.threed

Subclasses of MathIllegalStateException in org.apache.commons.math3.geometry.euclidean.threed
Modifier and Type
Class
Description
`class`
`CardanEulerSingularityException`
This class represents exceptions thrown while extractiong Cardan or Euler angles from a rotation.

## Uses of MathIllegalStateException in org.apache.commons.math3.geometry.spherical.twod

Methods in org.apache.commons.math3.geometry.spherical.twod that throw MathIllegalStateException
Modifier and Type
Method
Description
`protected void`
SphericalPolygonsSet.`computeGeometricalProperties()`
Compute some geometrical properties.
`List<Vertex>`
SphericalPolygonsSet.`getBoundaryLoops()`
Get the boundary loops of the polygon.

## Uses of MathIllegalStateException in org.apache.commons.math3.ode

Methods in org.apache.commons.math3.ode that throw MathIllegalStateException
Modifier and Type
Method
Description
`void`
SecondOrderIntegrator.`integrate(SecondOrderDifferentialEquations equations, double t0, double[] y0, double[] yDot0, double t, double[] y, double[] yDot)`
Integrate the differential equations up to the given time

## Uses of MathIllegalStateException in org.apache.commons.math3.optim.linear

Subclasses of MathIllegalStateException in org.apache.commons.math3.optim.linear
Modifier and Type
Class
Description
`class`
`NoFeasibleSolutionException`
This class represents exceptions thrown by optimizers when no solution fulfills the constraints.
`class`
`UnboundedSolutionException`
This class represents exceptions thrown by optimizers when a solution escapes to infinity.

## Uses of MathIllegalStateException in org.apache.commons.math3.optimization.linear

Subclasses of MathIllegalStateException in org.apache.commons.math3.optimization.linear
Modifier and Type
Class
Description
`class`
`NoFeasibleSolutionException`
Deprecated.
As of 3.1 (to be removed in 4.0).
`class`
`UnboundedSolutionException`
Deprecated.
As of 3.1 (to be removed in 4.0).
Methods in org.apache.commons.math3.optimization.linear that throw MathIllegalStateException
Modifier and Type
Method
Description
`protected abstract PointValuePair`
AbstractLinearOptimizer.`doOptimize()`
Deprecated.
Perform the bulk of optimization algorithm.
`PointValuePair`
AbstractLinearOptimizer.`optimize(LinearObjectiveFunction f, Collection<LinearConstraint> constraints, GoalType goalType, boolean restrictToNonNegative)`
Deprecated.
Optimizes an objective function.
`PointValuePair`
LinearOptimizer.`optimize(LinearObjectiveFunction f, Collection<LinearConstraint> constraints, GoalType goalType, boolean restrictToNonNegative)`
Deprecated.
Optimizes an objective function.

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

Methods in org.apache.commons.math3.random that throw MathIllegalStateException
Modifier and Type
Method
Description
`void`
ValueServer.`fill(double[] values)`
Fills the input array with values generated using getNext() repeatedly.
`double[]`
ValueServer.`fill(int length)`
Returns an array of length `length` with values generated using getNext() repeatedly.
`double`
ValueServer.`getNext()`
Returns the next generated value, generated according to the mode value (see MODE constants).
`double`
EmpiricalDistribution.`getNextValue()`
Generates a random value from this distribution.

## Uses of MathIllegalStateException in org.apache.commons.math3.stat.descriptive

Methods in org.apache.commons.math3.stat.descriptive that throw MathIllegalStateException
Modifier and Type
Method
Description
`double`
DescriptiveStatistics.`getPercentile(double p)`
Returns an estimate for the pth percentile of the stored values.
`void`
DescriptiveStatistics.`removeMostRecentValue()`
Removes the most recent value from the dataset.
`double`
DescriptiveStatistics.`replaceMostRecentValue(double v)`
Replaces the most recently stored value with the given value.
`void`
MultivariateSummaryStatistics.`setGeoMeanImpl(StorelessUnivariateStatistic[] geoMeanImpl)`
Sets the implementation for the geometric mean.
`void`
SummaryStatistics.`setGeoMeanImpl(StorelessUnivariateStatistic geoMeanImpl)`
Sets the implementation for the geometric mean.
`void`
SynchronizedMultivariateSummaryStatistics.`setGeoMeanImpl(StorelessUnivariateStatistic[] geoMeanImpl)`
Sets the implementation for the geometric mean.
`void`
SynchronizedSummaryStatistics.`setGeoMeanImpl(StorelessUnivariateStatistic geoMeanImpl)`
Sets the implementation for the geometric mean.
`void`
MultivariateSummaryStatistics.`setMaxImpl(StorelessUnivariateStatistic[] maxImpl)`
Sets the implementation for the maximum.
`void`
SummaryStatistics.`setMaxImpl(StorelessUnivariateStatistic maxImpl)`
Sets the implementation for the maximum.
`void`
SynchronizedMultivariateSummaryStatistics.`setMaxImpl(StorelessUnivariateStatistic[] maxImpl)`
Sets the implementation for the maximum.
`void`
SynchronizedSummaryStatistics.`setMaxImpl(StorelessUnivariateStatistic maxImpl)`
Sets the implementation for the maximum.
`void`
MultivariateSummaryStatistics.`setMeanImpl(StorelessUnivariateStatistic[] meanImpl)`
Sets the implementation for the mean.
`void`
SummaryStatistics.`setMeanImpl(StorelessUnivariateStatistic meanImpl)`
Sets the implementation for the mean.
`void`
SynchronizedMultivariateSummaryStatistics.`setMeanImpl(StorelessUnivariateStatistic[] meanImpl)`
Sets the implementation for the mean.
`void`
SynchronizedSummaryStatistics.`setMeanImpl(StorelessUnivariateStatistic meanImpl)`
Sets the implementation for the mean.
`void`
MultivariateSummaryStatistics.`setMinImpl(StorelessUnivariateStatistic[] minImpl)`
Sets the implementation for the minimum.
`void`
SummaryStatistics.`setMinImpl(StorelessUnivariateStatistic minImpl)`
Sets the implementation for the minimum.
`void`
SynchronizedMultivariateSummaryStatistics.`setMinImpl(StorelessUnivariateStatistic[] minImpl)`
Sets the implementation for the minimum.
`void`
SynchronizedSummaryStatistics.`setMinImpl(StorelessUnivariateStatistic minImpl)`
Sets the implementation for the minimum.
`void`
MultivariateSummaryStatistics.`setSumImpl(StorelessUnivariateStatistic[] sumImpl)`
Sets the implementation for the Sum.
`void`
SummaryStatistics.`setSumImpl(StorelessUnivariateStatistic sumImpl)`
Sets the implementation for the Sum.
`void`
SynchronizedMultivariateSummaryStatistics.`setSumImpl(StorelessUnivariateStatistic[] sumImpl)`
Sets the implementation for the Sum.
`void`
SynchronizedSummaryStatistics.`setSumImpl(StorelessUnivariateStatistic sumImpl)`
Sets the implementation for the Sum.
`void`
MultivariateSummaryStatistics.`setSumLogImpl(StorelessUnivariateStatistic[] sumLogImpl)`
Sets the implementation for the sum of logs.
`void`
SummaryStatistics.`setSumLogImpl(StorelessUnivariateStatistic sumLogImpl)`
Sets the implementation for the sum of logs.
`void`
SynchronizedMultivariateSummaryStatistics.`setSumLogImpl(StorelessUnivariateStatistic[] sumLogImpl)`
Sets the implementation for the sum of logs.
`void`
SynchronizedSummaryStatistics.`setSumLogImpl(StorelessUnivariateStatistic sumLogImpl)`
Sets the implementation for the sum of logs.
`void`
MultivariateSummaryStatistics.`setSumsqImpl(StorelessUnivariateStatistic[] sumsqImpl)`
Sets the implementation for the sum of squares.
`void`
SummaryStatistics.`setSumsqImpl(StorelessUnivariateStatistic sumsqImpl)`
Sets the implementation for the sum of squares.
`void`
SynchronizedMultivariateSummaryStatistics.`setSumsqImpl(StorelessUnivariateStatistic[] sumsqImpl)`
Sets the implementation for the sum of squares.
`void`
SynchronizedSummaryStatistics.`setSumsqImpl(StorelessUnivariateStatistic sumsqImpl)`
Sets the implementation for the sum of squares.
`void`
SummaryStatistics.`setVarianceImpl(StorelessUnivariateStatistic varianceImpl)`
Sets the implementation for the variance.
`void`
SynchronizedSummaryStatistics.`setVarianceImpl(StorelessUnivariateStatistic varianceImpl)`
Sets the implementation for the variance.

## Uses of MathIllegalStateException in org.apache.commons.math3.stat.descriptive.moment

Methods in org.apache.commons.math3.stat.descriptive.moment that throw MathIllegalStateException
Modifier and Type
Method
Description
`void`
GeometricMean.`setSumLogImpl(StorelessUnivariateStatistic sumLogImpl)`
Sets the implementation for the sum of logs.

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

Methods in org.apache.commons.math3.util that throw MathIllegalStateException
Modifier and Type
Method
Description
`double`
ResizableDoubleArray.`substituteMostRecentElement(double value)`
Substitutes `value` for the most recently added value.