Uses of Class
org.apache.commons.math3.exception.OutOfRangeException
Packages that use OutOfRangeException
Package
Description
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.Univariate real functions interpolation algorithms.
Complex number type and implementations of complex transcendental
functions.
Implementations of common discrete and continuous distributions.
This package provides Genetic Algorithms components and implementations.
This package provides basic geometry components on the 2-sphere.
Linear algebra support.
Random number and random data generators.
Classes providing hypothesis testing.
Classes providing binomial proportion confidence interval construction.
Statistical routines involving multivariate data.
Convenience routines and common data structures used throughout the commons-math library.
-
Uses of OutOfRangeException in org.apache.commons.math3.analysis.function
Methods in org.apache.commons.math3.analysis.function that throw OutOfRangeExceptionModifier and TypeMethodDescriptiondouble
Logit.value
(double x) Compute the value of the function.Logit.value
(DerivativeStructure t) Simple mathematical function. -
Uses of OutOfRangeException in org.apache.commons.math3.analysis.interpolation
Methods in org.apache.commons.math3.analysis.interpolation that throw OutOfRangeExceptionModifier and TypeMethodDescriptiondouble
BicubicSplineInterpolatingFunction.partialDerivativeX
(double x, double y) Deprecated.double
BicubicSplineInterpolatingFunction.partialDerivativeXX
(double x, double y) Deprecated.double
BicubicSplineInterpolatingFunction.partialDerivativeXY
(double x, double y) Deprecated.double
BicubicSplineInterpolatingFunction.partialDerivativeY
(double x, double y) Deprecated.double
BicubicSplineInterpolatingFunction.partialDerivativeYY
(double x, double y) Deprecated.double
BicubicInterpolatingFunction.value
(double x, double y) Compute the value for the function.double
BicubicSplineInterpolatingFunction.value
(double x, double y) Deprecated.Compute the value for the function.double
PiecewiseBicubicSplineInterpolatingFunction.value
(double x, double y) Compute the value for the function.double
TricubicInterpolatingFunction.value
(double x, double y, double z) Compute the value for the function.double
TricubicSplineInterpolatingFunction.value
(double x, double y, double z) Deprecated.Compute the value for the function.Constructors in org.apache.commons.math3.analysis.interpolation that throw OutOfRangeExceptionModifierConstructorDescriptionLoessInterpolator
(double bandwidth, int robustnessIters, double accuracy) Construct a newLoessInterpolator
with given bandwidth, number of robustness iterations and accuracy. -
Uses of OutOfRangeException in org.apache.commons.math3.complex
Methods in org.apache.commons.math3.complex that throw OutOfRangeExceptionModifier and TypeMethodDescriptiondouble
RootsOfUnity.getImaginary
(int k) Get the imaginary part of thek
-thn
-th root of unity. -
Uses of OutOfRangeException in org.apache.commons.math3.distribution
Methods in org.apache.commons.math3.distribution that throw OutOfRangeExceptionModifier and TypeMethodDescriptionint
AbstractIntegerDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
AbstractRealDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
CauchyDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
ConstantRealDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
EnumeratedRealDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
ExponentialDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.int
GeometricDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
GumbelDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.int
IntegerDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
LaplaceDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
LevyDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
LogisticDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
NormalDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
RealDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
TriangularDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.double
UniformRealDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.Constructors in org.apache.commons.math3.distribution that throw OutOfRangeExceptionModifierConstructorDescriptionPascalDistribution
(int r, double p) Create a Pascal distribution with the given number of successes and probability of success.PascalDistribution
(RandomGenerator rng, int r, double p) Create a Pascal distribution with the given number of successes and probability of success. -
Uses of OutOfRangeException in org.apache.commons.math3.genetics
Methods in org.apache.commons.math3.genetics that throw OutOfRangeExceptionModifier and TypeMethodDescriptionvoid
ElitisticListPopulation.setElitismRate
(double elitismRate) Sets the elitism rate, i.e.Constructors in org.apache.commons.math3.genetics that throw OutOfRangeExceptionModifierConstructorDescriptionElitisticListPopulation
(int populationLimit, double elitismRate) Creates a newElitisticListPopulation
instance and initializes its inner chromosome list.ElitisticListPopulation
(List<Chromosome> chromosomes, int populationLimit, double elitismRate) Creates a newElitisticListPopulation
instance.GeneticAlgorithm
(CrossoverPolicy crossoverPolicy, double crossoverRate, MutationPolicy mutationPolicy, double mutationRate, SelectionPolicy selectionPolicy) Create a new genetic algorithm.UniformCrossover
(double ratio) Creates a newUniformCrossover
policy using the given mixing ratio. -
Uses of OutOfRangeException in org.apache.commons.math3.geometry.spherical.twod
Constructors in org.apache.commons.math3.geometry.spherical.twod that throw OutOfRangeException -
Uses of OutOfRangeException in org.apache.commons.math3.linear
Methods in org.apache.commons.math3.linear that throw OutOfRangeExceptionModifier and TypeMethodDescriptionabstract void
AbstractFieldMatrix.addToEntry
(int row, int column, T increment) Change an entry in the specified row and column.void
AbstractRealMatrix.addToEntry
(int row, int column, double increment) Adds (in place) the specified value to the specified entry ofthis
matrix.void
Array2DRowFieldMatrix.addToEntry
(int row, int column, T increment) Change an entry in the specified row and column.void
Array2DRowRealMatrix.addToEntry
(int row, int column, double increment) Adds (in place) the specified value to the specified entry ofthis
matrix.void
ArrayRealVector.addToEntry
(int index, double increment) Change an entry at the specified index.void
BlockFieldMatrix.addToEntry
(int row, int column, T increment) Change an entry in the specified row and column.void
BlockRealMatrix.addToEntry
(int row, int column, double increment) Adds (in place) the specified value to the specified entry ofthis
matrix.void
DiagonalMatrix.addToEntry
(int row, int column, double increment) Adds (in place) the specified value to the specified entry ofthis
matrix.void
FieldMatrix.addToEntry
(int row, int column, T increment) Change an entry in the specified row and column.void
OpenMapRealMatrix.addToEntry
(int row, int column, double increment) Adds (in place) the specified value to the specified entry ofthis
matrix.void
RealMatrix.addToEntry
(int row, int column, double increment) Adds (in place) the specified value to the specified entry ofthis
matrix.void
RealVector.addToEntry
(int index, double increment) Change an entry at the specified index.protected void
AbstractFieldMatrix.checkColumnIndex
(int column) Check if a column index is valid.static void
MatrixUtils.checkColumnIndex
(AnyMatrix m, int column) Check if a column index is valid.protected void
RealVector.checkIndex
(int index) Check if an index is valid.protected void
RealVector.checkIndices
(int start, int end) Checks that the indices of a subvector are valid.static void
MatrixUtils.checkMatrixIndex
(AnyMatrix m, int row, int column) Check if matrix indices are valid.protected void
AbstractFieldMatrix.checkRowIndex
(int row) Check if a row index is valid.static void
MatrixUtils.checkRowIndex
(AnyMatrix m, int row) Check if a row index is valid.protected void
AbstractFieldMatrix.checkSubMatrixIndex
(int[] selectedRows, int[] selectedColumns) Check if submatrix ranges indices are valid.protected void
AbstractFieldMatrix.checkSubMatrixIndex
(int startRow, int endRow, int startColumn, int endColumn) Check if submatrix ranges indices are valid.static void
MatrixUtils.checkSubMatrixIndex
(AnyMatrix m, int[] selectedRows, int[] selectedColumns) Check if submatrix ranges indices are valid.static void
MatrixUtils.checkSubMatrixIndex
(AnyMatrix m, int startRow, int endRow, int startColumn, int endColumn) Check if submatrix ranges indices are valid.void
AbstractFieldMatrix.copySubMatrix
(int[] selectedRows, int[] selectedColumns, T[][] destination) Copy a submatrix.void
AbstractFieldMatrix.copySubMatrix
(int startRow, int endRow, int startColumn, int endColumn, T[][] destination) Copy a submatrix.void
AbstractRealMatrix.copySubMatrix
(int[] selectedRows, int[] selectedColumns, double[][] destination) Copy a submatrix.void
AbstractRealMatrix.copySubMatrix
(int startRow, int endRow, int startColumn, int endColumn, double[][] destination) Copy a submatrix.void
FieldMatrix.copySubMatrix
(int[] selectedRows, int[] selectedColumns, T[][] destination) Copy a submatrix.void
FieldMatrix.copySubMatrix
(int startRow, int endRow, int startColumn, int endColumn, T[][] destination) Copy a submatrix.void
RealMatrix.copySubMatrix
(int[] selectedRows, int[] selectedColumns, double[][] destination) Copy a submatrix.void
RealMatrix.copySubMatrix
(int startRow, int endRow, int startColumn, int endColumn, double[][] destination) Copy a submatrix.T[]
AbstractFieldMatrix.getColumn
(int column) Get the entries in column numbercol
as an array.double[]
AbstractRealMatrix.getColumn
(int column) Get the entries at the given column index as an array.T[]
BlockFieldMatrix.getColumn
(int column) Get the entries in column numbercol
as an array.double[]
BlockRealMatrix.getColumn
(int column) Get the entries at the given column index as an array.T[]
FieldMatrix.getColumn
(int column) Get the entries in column numbercol
as an array.double[]
RealMatrix.getColumn
(int column) Get the entries at the given column index as an array.AbstractFieldMatrix.getColumnMatrix
(int column) Get the entries in column numbercolumn
as a column matrix.AbstractRealMatrix.getColumnMatrix
(int column) Get the entries at the given column index as a column matrix.BlockFieldMatrix.getColumnMatrix
(int column) Get the entries in column numbercolumn
as a column matrix.BlockRealMatrix.getColumnMatrix
(int column) Get the entries at the given column index as a column matrix.FieldMatrix.getColumnMatrix
(int column) Get the entries in column numbercolumn
as a column matrix.RealMatrix.getColumnMatrix
(int column) Get the entries at the given column index as a column matrix.AbstractFieldMatrix.getColumnVector
(int column) Returns the entries in column numbercolumn
as a vector.AbstractRealMatrix.getColumnVector
(int column) Get the entries at the given column index as a vector.BlockFieldMatrix.getColumnVector
(int column) Returns the entries in column numbercolumn
as a vector.BlockRealMatrix.getColumnVector
(int column) Get the entries at the given column index as a vector.FieldMatrix.getColumnVector
(int column) Returns the entries in column numbercolumn
as a vector.RealMatrix.getColumnVector
(int column) Get the entries at the given column index as a vector.abstract T
AbstractFieldMatrix.getEntry
(int row, int column) Returns the entry in the specified row and column.abstract double
AbstractRealMatrix.getEntry
(int row, int column) Get the entry in the specified row and column.Array2DRowFieldMatrix.getEntry
(int row, int column) Returns the entry in the specified row and column.double
Array2DRowRealMatrix.getEntry
(int row, int column) Get the entry in the specified row and column.double
ArrayRealVector.getEntry
(int index) Return the entry at the specified index.BlockFieldMatrix.getEntry
(int row, int column) Returns the entry in the specified row and column.double
BlockRealMatrix.getEntry
(int row, int column) Get the entry in the specified row and column.double
DiagonalMatrix.getEntry
(int row, int column) Get the entry in the specified row and column.FieldMatrix.getEntry
(int row, int column) Returns the entry in the specified row and column.FieldVector.getEntry
(int index) Returns the entry in the specified index.double
OpenMapRealMatrix.getEntry
(int row, int column) Get the entry in the specified row and column.double
OpenMapRealVector.getEntry
(int index) Return the entry at the specified index.double
RealMatrix.getEntry
(int row, int column) Get the entry in the specified row and column.abstract double
RealVector.getEntry
(int index) Return the entry at the specified index.SparseFieldVector.getEntry
(int index) Returns the entry in the specified index.T[]
AbstractFieldMatrix.getRow
(int row) Get the entries in row numberrow
as an array.double[]
AbstractRealMatrix.getRow
(int row) Get the entries at the given row index.T[]
BlockFieldMatrix.getRow
(int row) Get the entries in row numberrow
as an array.double[]
BlockRealMatrix.getRow
(int row) Get the entries at the given row index.T[]
FieldMatrix.getRow
(int row) Get the entries in row numberrow
as an array.double[]
RealMatrix.getRow
(int row) Get the entries at the given row index.AbstractFieldMatrix.getRowMatrix
(int row) Get the entries in row numberrow
as a row matrix.AbstractRealMatrix.getRowMatrix
(int row) Get the entries at the given row index as a row matrix.BlockFieldMatrix.getRowMatrix
(int row) Get the entries in row numberrow
as a row matrix.BlockRealMatrix.getRowMatrix
(int row) Get the entries at the given row index as a row matrix.FieldMatrix.getRowMatrix
(int row) Get the entries in row numberrow
as a row matrix.RealMatrix.getRowMatrix
(int row) Get the entries at the given row index as a row matrix.AbstractFieldMatrix.getRowVector
(int row) Get the entries in row numberrow
as a vector.AbstractRealMatrix.getRowVector
(int row) Returns the entries in row numberrow
as a vector.BlockFieldMatrix.getRowVector
(int row) Get the entries in row numberrow
as a vector.BlockRealMatrix.getRowVector
(int row) Returns the entries in row numberrow
as a vector.FieldMatrix.getRowVector
(int row) Get the entries in row numberrow
as a vector.RealMatrix.getRowVector
(int row) Returns the entries in row numberrow
as a vector.AbstractFieldMatrix.getSubMatrix
(int[] selectedRows, int[] selectedColumns) Get a submatrix.AbstractFieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.AbstractRealMatrix.getSubMatrix
(int[] selectedRows, int[] selectedColumns) Gets a submatrix.AbstractRealMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Gets a submatrix.BlockFieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.BlockRealMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Gets a submatrix.FieldMatrix.getSubMatrix
(int[] selectedRows, int[] selectedColumns) Get a submatrix.FieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.RealMatrix.getSubMatrix
(int[] selectedRows, int[] selectedColumns) Gets a submatrix.RealMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Gets a submatrix.ArrayFieldVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.ArrayRealVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.FieldVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.OpenMapRealVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.abstract RealVector
RealVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.SparseFieldVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.abstract void
AbstractFieldMatrix.multiplyEntry
(int row, int column, T factor) Change an entry in the specified row and column.void
AbstractRealMatrix.multiplyEntry
(int row, int column, double factor) Multiplies (in place) the specified entry ofthis
matrix by the specified value.void
Array2DRowFieldMatrix.multiplyEntry
(int row, int column, T factor) Change an entry in the specified row and column.void
Array2DRowRealMatrix.multiplyEntry
(int row, int column, double factor) Multiplies (in place) the specified entry ofthis
matrix by the specified value.void
BlockFieldMatrix.multiplyEntry
(int row, int column, T factor) Change an entry in the specified row and column.void
BlockRealMatrix.multiplyEntry
(int row, int column, double factor) Multiplies (in place) the specified entry ofthis
matrix by the specified value.void
DiagonalMatrix.multiplyEntry
(int row, int column, double factor) Multiplies (in place) the specified entry ofthis
matrix by the specified value.void
FieldMatrix.multiplyEntry
(int row, int column, T factor) Change an entry in the specified row and column.void
OpenMapRealMatrix.multiplyEntry
(int row, int column, double factor) Multiplies (in place) the specified entry ofthis
matrix by the specified value.void
RealMatrix.multiplyEntry
(int row, int column, double factor) Multiplies (in place) the specified entry ofthis
matrix by the specified value.void
ArrayFieldVector.set
(int index, ArrayFieldVector<T> v) Set a set of consecutive elements.void
Set the entries in column numbercolumn
as a column matrix.void
AbstractRealMatrix.setColumn
(int column, double[] array) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedarray
.void
Set the entries in column numbercolumn
as a column matrix.void
BlockRealMatrix.setColumn
(int column, double[] array) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedarray
.void
Set the entries in column numbercolumn
as a column matrix.void
RealMatrix.setColumn
(int column, double[] array) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedarray
.void
AbstractFieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Set the entries in column numbercolumn
as a column matrix.void
AbstractRealMatrix.setColumnMatrix
(int column, RealMatrix matrix) Sets the specifiedcolumn
ofthis
matrix to the entries of the specified columnmatrix
.void
BlockFieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Set the entries in column numbercolumn
as a column matrix.void
BlockRealMatrix.setColumnMatrix
(int column, RealMatrix matrix) Sets the specifiedcolumn
ofthis
matrix to the entries of the specified columnmatrix
.void
FieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Set the entries in column numbercolumn
as a column matrix.void
RealMatrix.setColumnMatrix
(int column, RealMatrix matrix) Sets the specifiedcolumn
ofthis
matrix to the entries of the specified columnmatrix
.void
AbstractFieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Set the entries in column numbercolumn
as a vector.void
AbstractRealMatrix.setColumnVector
(int column, RealVector vector) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedvector
.void
BlockFieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Set the entries in column numbercolumn
as a vector.void
BlockRealMatrix.setColumnVector
(int column, RealVector vector) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedvector
.void
FieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Set the entries in column numbercolumn
as a vector.void
RealMatrix.setColumnVector
(int column, RealVector vector) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedvector
.abstract void
Set the entry in the specified row and column.abstract void
AbstractRealMatrix.setEntry
(int row, int column, double value) Set the entry in the specified row and column.void
Set the entry in the specified row and column.void
Array2DRowRealMatrix.setEntry
(int row, int column, double value) Set the entry in the specified row and column.void
ArrayRealVector.setEntry
(int index, double value) Set a single element.void
Set the entry in the specified row and column.void
BlockRealMatrix.setEntry
(int row, int column, double value) Set the entry in the specified row and column.void
DiagonalMatrix.setEntry
(int row, int column, double value) Set the entry in the specified row and column.void
Set the entry in the specified row and column.void
Set a single element.void
OpenMapRealMatrix.setEntry
(int row, int column, double value) Set the entry in the specified row and column.void
OpenMapRealVector.setEntry
(int index, double value) Set a single element.void
RealMatrix.setEntry
(int row, int column, double value) Set the entry in the specified row and column.abstract void
RealVector.setEntry
(int index, double value) Set a single element.void
Set a single element.void
Set the entries in row numberrow
as a row matrix.void
AbstractRealMatrix.setRow
(int row, double[] array) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedarray
.void
Set the entries in row numberrow
as a row matrix.void
BlockRealMatrix.setRow
(int row, double[] array) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedarray
.void
Set the entries in row numberrow
as a row matrix.void
RealMatrix.setRow
(int row, double[] array) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedarray
.void
AbstractFieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Set the entries in row numberrow
as a row matrix.void
AbstractRealMatrix.setRowMatrix
(int row, RealMatrix matrix) Sets the specifiedrow
ofthis
matrix to the entries of the specified rowmatrix
.void
BlockFieldMatrix.setRowMatrix
(int row, BlockFieldMatrix<T> matrix) Sets the entries in row numberrow
as a row matrix.void
BlockFieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Set the entries in row numberrow
as a row matrix.void
BlockRealMatrix.setRowMatrix
(int row, BlockRealMatrix matrix) Sets the entries in row numberrow
as a row matrix.void
BlockRealMatrix.setRowMatrix
(int row, RealMatrix matrix) Sets the specifiedrow
ofthis
matrix to the entries of the specified rowmatrix
.void
FieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Set the entries in row numberrow
as a row matrix.void
RealMatrix.setRowMatrix
(int row, RealMatrix matrix) Sets the specifiedrow
ofthis
matrix to the entries of the specified rowmatrix
.void
AbstractFieldMatrix.setRowVector
(int row, FieldVector<T> vector) Set the entries in row numberrow
as a vector.void
AbstractRealMatrix.setRowVector
(int row, RealVector vector) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedvector
.void
BlockFieldMatrix.setRowVector
(int row, FieldVector<T> vector) Set the entries in row numberrow
as a vector.void
BlockRealMatrix.setRowVector
(int row, RealVector vector) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedvector
.void
FieldMatrix.setRowVector
(int row, FieldVector<T> vector) Set the entries in row numberrow
as a vector.void
RealMatrix.setRowVector
(int row, RealVector vector) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedvector
.void
AbstractFieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
AbstractRealMatrix.setSubMatrix
(double[][] subMatrix, int row, int column) Replace the submatrix starting atrow, column
using data in the inputsubMatrix
array.void
Array2DRowFieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
Array2DRowRealMatrix.setSubMatrix
(double[][] subMatrix, int row, int column) Replace the submatrix starting atrow, column
using data in the inputsubMatrix
array.void
BlockFieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
BlockRealMatrix.setSubMatrix
(double[][] subMatrix, int row, int column) Replace the submatrix starting atrow, column
using data in the inputsubMatrix
array.void
FieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
RealMatrix.setSubMatrix
(double[][] subMatrix, int row, int column) Replace the submatrix starting atrow, column
using data in the inputsubMatrix
array.void
ArrayFieldVector.setSubVector
(int index, FieldVector<T> v) Set a set of consecutive elements.void
ArrayRealVector.setSubVector
(int index, double[] v) Set a set of consecutive elements.void
ArrayRealVector.setSubVector
(int index, RealVector v) Set a sequence of consecutive elements.void
FieldVector.setSubVector
(int index, FieldVector<T> v) Set a set of consecutive elements.void
OpenMapRealVector.setSubVector
(int index, RealVector v) Set a sequence of consecutive elements.abstract void
RealVector.setSubVector
(int index, RealVector v) Set a sequence of consecutive elements.void
SparseFieldVector.setSubVector
(int index, FieldVector<T> v) Set a set of consecutive elements.AbstractFieldMatrix.walkInColumnOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in column order.AbstractFieldMatrix.walkInColumnOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in column order.double
AbstractRealMatrix.walkInColumnOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in column order.double
AbstractRealMatrix.walkInColumnOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in column order.Array2DRowFieldMatrix.walkInColumnOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in column order.Array2DRowFieldMatrix.walkInColumnOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in column order.double
Array2DRowRealMatrix.walkInColumnOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in column order.double
Array2DRowRealMatrix.walkInColumnOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in column order.FieldMatrix.walkInColumnOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in column order.FieldMatrix.walkInColumnOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in column order.double
RealMatrix.walkInColumnOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in column order.double
RealMatrix.walkInColumnOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in column order.ArrayFieldVector.walkInDefaultOrder
(FieldVectorChangingVisitor<T> visitor, int start, int end) Visits (and possibly alters) some entries of this vector in default order (increasing index).ArrayFieldVector.walkInDefaultOrder
(FieldVectorPreservingVisitor<T> visitor, int start, int end) Visits (but does not alter) some entries of this vector in default order (increasing index).double
ArrayRealVector.walkInDefaultOrder
(RealVectorChangingVisitor visitor, int start, int end) Visits (and possibly alters) some entries of this vector in default order (increasing index).double
ArrayRealVector.walkInDefaultOrder
(RealVectorPreservingVisitor visitor, int start, int end) Visits (but does not alter) some entries of this vector in default order (increasing index).double
RealVector.walkInDefaultOrder
(RealVectorChangingVisitor visitor, int start, int end) Visits (and possibly alters) some entries of this vector in default order (increasing index).double
RealVector.walkInDefaultOrder
(RealVectorPreservingVisitor visitor, int start, int end) Visits (but does not alter) some entries of this vector in default order (increasing index).SparseFieldVector.walkInDefaultOrder
(FieldVectorChangingVisitor<T> visitor, int start, int end) Visits (and possibly alters) some entries of this vector in default order (increasing index).SparseFieldVector.walkInDefaultOrder
(FieldVectorPreservingVisitor<T> visitor, int start, int end) Visits (but does not alter) some entries of this vector in default order (increasing index).AbstractFieldMatrix.walkInOptimizedOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries using the fastest possible order.AbstractFieldMatrix.walkInOptimizedOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries using the fastest possible order.double
AbstractRealMatrix.walkInOptimizedOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries using the fastest possible order.double
AbstractRealMatrix.walkInOptimizedOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries using the fastest possible order.ArrayFieldVector.walkInOptimizedOrder
(FieldVectorChangingVisitor<T> visitor, int start, int end) Visits (and possibly change) some entries of this vector in optimized order.ArrayFieldVector.walkInOptimizedOrder
(FieldVectorPreservingVisitor<T> visitor, int start, int end) Visits (but does not alter) some entries of this vector in optimized order.double
ArrayRealVector.walkInOptimizedOrder
(RealVectorChangingVisitor visitor, int start, int end) Visits (and possibly change) some entries of this vector in optimized order.double
ArrayRealVector.walkInOptimizedOrder
(RealVectorPreservingVisitor visitor, int start, int end) Visits (but does not alter) some entries of this vector in optimized order.BlockFieldMatrix.walkInOptimizedOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries using the fastest possible order.BlockFieldMatrix.walkInOptimizedOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries using the fastest possible order.double
BlockRealMatrix.walkInOptimizedOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries using the fastest possible order.double
BlockRealMatrix.walkInOptimizedOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries using the fastest possible order.FieldMatrix.walkInOptimizedOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries using the fastest possible order.FieldMatrix.walkInOptimizedOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries using the fastest possible order.double
RealMatrix.walkInOptimizedOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries using the fastest possible order.double
RealMatrix.walkInOptimizedOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries using the fastest possible order.double
RealVector.walkInOptimizedOrder
(RealVectorChangingVisitor visitor, int start, int end) Visits (and possibly change) some entries of this vector in optimized order.double
RealVector.walkInOptimizedOrder
(RealVectorPreservingVisitor visitor, int start, int end) Visits (but does not alter) some entries of this vector in optimized order.SparseFieldVector.walkInOptimizedOrder
(FieldVectorChangingVisitor<T> visitor, int start, int end) Visits (and possibly change) some entries of this vector in optimized order.SparseFieldVector.walkInOptimizedOrder
(FieldVectorPreservingVisitor<T> visitor, int start, int end) Visits (but does not alter) some entries of this vector in optimized order.AbstractFieldMatrix.walkInRowOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.AbstractFieldMatrix.walkInRowOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.double
AbstractRealMatrix.walkInRowOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.double
AbstractRealMatrix.walkInRowOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.Array2DRowFieldMatrix.walkInRowOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.Array2DRowFieldMatrix.walkInRowOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.double
Array2DRowRealMatrix.walkInRowOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.double
Array2DRowRealMatrix.walkInRowOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.BlockFieldMatrix.walkInRowOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.BlockFieldMatrix.walkInRowOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.double
BlockRealMatrix.walkInRowOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.double
BlockRealMatrix.walkInRowOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.FieldMatrix.walkInRowOrder
(FieldMatrixChangingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.FieldMatrix.walkInRowOrder
(FieldMatrixPreservingVisitor<T> visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order.double
RealMatrix.walkInRowOrder
(RealMatrixChangingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (and possibly change) some matrix entries in row order.double
RealMatrix.walkInRowOrder
(RealMatrixPreservingVisitor visitor, int startRow, int endRow, int startColumn, int endColumn) Visit (but don't change) some matrix entries in row order. -
Uses of OutOfRangeException in org.apache.commons.math3.random
Methods in org.apache.commons.math3.random that throw OutOfRangeExceptionModifier and TypeMethodDescriptiondouble
EmpiricalDistribution.inverseCumulativeProbability
(double p) Computes the quantile function of this distribution.int
RandomDataGenerator.nextPascal
(int r, double p) Generates a random value from thePascal Distribution
.int
RandomDataImpl.nextPascal
(int r, double p) Deprecated.Generates a random value from thePascal Distribution
.Constructors in org.apache.commons.math3.random that throw OutOfRangeExceptionModifierConstructorDescriptionHaltonSequenceGenerator
(int dimension) Construct a new Halton sequence generator for the given space dimension.HaltonSequenceGenerator
(int dimension, int[] bases, int[] weights) Construct a new Halton sequence generator with the given base numbers and weights for each dimension.SobolSequenceGenerator
(int dimension) Construct a new Sobol sequence generator for the given space dimension.StableRandomGenerator
(RandomGenerator generator, double alpha, double beta) Create a new generator. -
Uses of OutOfRangeException in org.apache.commons.math3.stat.inference
Methods in org.apache.commons.math3.stat.inference that throw OutOfRangeExceptionModifier and TypeMethodDescriptionboolean
OneWayAnova.anovaTest
(Collection<double[]> categoryData, double alpha) Performs an ANOVA test, evaluating the null hypothesis that there is no difference among the means of the data categories.boolean
ChiSquareTest.chiSquareTest
(double[] expected, long[] observed, double alpha) Performs a Chi-square goodness of fit test evaluating the null hypothesis that the observed counts conform to the frequency distribution described by the expected counts, with significance levelalpha
.boolean
ChiSquareTest.chiSquareTest
(long[][] counts, double alpha) Performs a chi-square test of independence evaluating the null hypothesis that the classifications represented by the counts in the columns of the input 2-way table are independent of the rows, with significance levelalpha
.static boolean
TestUtils.chiSquareTest
(double[] expected, long[] observed, double alpha) static boolean
TestUtils.chiSquareTest
(long[][] counts, double alpha) boolean
ChiSquareTest.chiSquareTestDataSetsComparison
(long[] observed1, long[] observed2, double alpha) Performs a Chi-Square two sample test comparing two binned data sets.static boolean
TestUtils.chiSquareTestDataSetsComparison
(long[] observed1, long[] observed2, double alpha) boolean
GTest.gTest
(double[] expected, long[] observed, double alpha) Performs a G-Test (Log-Likelihood Ratio Test) for goodness of fit evaluating the null hypothesis that the observed counts conform to the frequency distribution described by the expected counts, with significance levelalpha
.static boolean
TestUtils.gTest
(double[] expected, long[] observed, double alpha) boolean
GTest.gTestDataSetsComparison
(long[] observed1, long[] observed2, double alpha) Performs a G-Test (Log-Likelihood Ratio Test) comparing two binned data sets.static boolean
TestUtils.gTestDataSetsComparison
(long[] observed1, long[] observed2, double alpha) static boolean
TestUtils.homoscedasticTTest
(double[] sample1, double[] sample2, double alpha) boolean
TTest.homoscedasticTTest
(double[] sample1, double[] sample2, double alpha) Performs a two-sided t-test evaluating the null hypothesis thatsample1
andsample2
are drawn from populations with the same mean, with significance levelalpha
, assuming that the subpopulation variances are equal.static boolean
TestUtils.oneWayAnovaTest
(Collection<double[]> categoryData, double alpha) static boolean
TestUtils.pairedTTest
(double[] sample1, double[] sample2, double alpha) boolean
TTest.pairedTTest
(double[] sample1, double[] sample2, double alpha) Performs a paired t-test evaluating the null hypothesis that the mean of the paired differences betweensample1
andsample2
is 0 in favor of the two-sided alternative that the mean paired difference is not equal to 0, with significance levelalpha
.static boolean
TestUtils.tTest
(double[] sample1, double[] sample2, double alpha) static boolean
TestUtils.tTest
(double mu, double[] sample, double alpha) static boolean
TestUtils.tTest
(double mu, StatisticalSummary sampleStats, double alpha) static boolean
TestUtils.tTest
(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2, double alpha) boolean
TTest.tTest
(double[] sample1, double[] sample2, double alpha) Performs a two-sided t-test evaluating the null hypothesis thatsample1
andsample2
are drawn from populations with the same mean, with significance levelalpha
.boolean
TTest.tTest
(double mu, double[] sample, double alpha) Performs a two-sided t-test evaluating the null hypothesis that the mean of the population from whichsample
is drawn equalsmu
.boolean
TTest.tTest
(double mu, StatisticalSummary sampleStats, double alpha) Performs a two-sided t-test evaluating the null hypothesis that the mean of the population from which the dataset described bystats
is drawn equalsmu
.boolean
TTest.tTest
(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2, double alpha) Performs a two-sided t-test evaluating the null hypothesis thatsampleStats1
andsampleStats2
describe datasets drawn from populations with the same mean, with significance levelalpha
. -
Uses of OutOfRangeException in org.apache.commons.math3.stat.interval
Methods in org.apache.commons.math3.stat.interval that throw OutOfRangeExceptionModifier and TypeMethodDescriptionBinomialConfidenceInterval.createInterval
(int numberOfTrials, int numberOfSuccesses, double confidenceLevel) Create a confidence interval for the true probability of success of an unknown binomial distribution with the given observed number of trials, successes and confidence level. -
Uses of OutOfRangeException in org.apache.commons.math3.stat.regression
Methods in org.apache.commons.math3.stat.regression that throw OutOfRangeExceptionModifier and TypeMethodDescriptiondouble
RegressionResults.getCovarianceOfParameters
(int i, int j) Returns the covariance between regression parameters i and j.double
RegressionResults.getParameterEstimate
(int index) Returns the parameter estimate for the regressor at the given index.double
SimpleRegression.getSlopeConfidenceInterval()
Returns the half-width of a 95% confidence interval for the slope estimate.double
SimpleRegression.getSlopeConfidenceInterval
(double alpha) Returns the half-width of a (100-100*alpha)% confidence interval for the slope estimate.double
RegressionResults.getStdErrorOfEstimate
(int index) Returns the standard error of the parameter estimate at index, usually denoted s(bindex). -
Uses of OutOfRangeException in org.apache.commons.math3.util
Methods in org.apache.commons.math3.util that throw OutOfRangeException