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.interpolation |
Univariate real functions interpolation algorithms.
|
org.apache.commons.math3.complex |
Complex number type and implementations of complex transcendental
functions.
|
org.apache.commons.math3.distribution |
Implementations of common discrete and continuous distributions.
|
org.apache.commons.math3.genetics |
This package provides Genetic Algorithms components and implementations.
|
org.apache.commons.math3.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
org.apache.commons.math3.linear |
Linear algebra support.
|
org.apache.commons.math3.random |
Random number and random data generators.
|
org.apache.commons.math3.stat.inference |
Classes providing hypothesis testing.
|
org.apache.commons.math3.stat.interval |
Classes providing binomial proportion confidence interval construction.
|
org.apache.commons.math3.stat.regression |
Statistical routines involving multivariate data.
|
org.apache.commons.math3.util |
Convenience routines and common data structures used throughout the commons-math library.
|
Modifier and Type | Method and Description |
---|---|
DerivativeStructure |
Logit.value(DerivativeStructure t)
Simple mathematical function.
|
double |
Logit.value(double x)
Compute the value of the function.
|
Modifier and Type | Method and Description |
---|---|
double |
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 |
TricubicSplineInterpolatingFunction.value(double x,
double y,
double z)
Deprecated.
Compute the value for the function.
|
double |
TricubicInterpolatingFunction.value(double x,
double y,
double z)
Compute the value for the function.
|
Constructor and Description |
---|
LoessInterpolator(double bandwidth,
int robustnessIters,
double accuracy)
Construct a new
LoessInterpolator
with given bandwidth, number of robustness iterations and accuracy. |
Modifier and Type | Method and Description |
---|---|
double |
RootsOfUnity.getImaginary(int k)
Get the imaginary part of the
k -th n -th root of unity. |
Modifier and Type | Method and Description |
---|---|
double |
LogisticDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
CauchyDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
UniformRealDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
int |
GeometricDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
NormalDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
int |
IntegerDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
LevyDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
ExponentialDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
LaplaceDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
GumbelDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
TriangularDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
RealDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
AbstractRealDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
ConstantRealDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
int |
AbstractIntegerDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
double |
EnumeratedRealDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
Constructor and Description |
---|
PascalDistribution(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.
|
Modifier and Type | Method and Description |
---|---|
void |
ElitisticListPopulation.setElitismRate(double elitismRate)
Sets the elitism rate, i.e.
|
Constructor and Description |
---|
ElitisticListPopulation(int populationLimit,
double elitismRate)
Creates a new
ElitisticListPopulation instance and initializes its inner chromosome list. |
ElitisticListPopulation(List<Chromosome> chromosomes,
int populationLimit,
double elitismRate)
Creates a new
ElitisticListPopulation instance. |
GeneticAlgorithm(CrossoverPolicy crossoverPolicy,
double crossoverRate,
MutationPolicy mutationPolicy,
double mutationRate,
SelectionPolicy selectionPolicy)
Create a new genetic algorithm.
|
UniformCrossover(double ratio)
Creates a new
UniformCrossover policy using the given mixing ratio. |
Constructor and Description |
---|
S2Point(double theta,
double phi)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
RealVector.addToEntry(int index,
double increment)
Change an entry at the specified index.
|
void |
ArrayRealVector.addToEntry(int index,
double increment)
Change an entry at the specified index.
|
void |
DiagonalMatrix.addToEntry(int row,
int column,
double increment)
Adds (in place) the specified value to the specified entry of
this matrix. |
void |
BlockRealMatrix.addToEntry(int row,
int column,
double increment)
Adds (in place) the specified value to the specified entry of
this matrix. |
void |
AbstractRealMatrix.addToEntry(int row,
int column,
double increment)
Adds (in place) the specified value to the specified entry of
this matrix. |
void |
RealMatrix.addToEntry(int row,
int column,
double increment)
Adds (in place) the specified value to the specified entry of
this matrix. |
void |
Array2DRowRealMatrix.addToEntry(int row,
int column,
double increment)
Adds (in place) the specified value to the specified entry of
this matrix. |
void |
OpenMapRealMatrix.addToEntry(int row,
int column,
double increment)
Adds (in place) the specified value to the specified entry of
this matrix. |
void |
Array2DRowFieldMatrix.addToEntry(int row,
int column,
T increment)
Change an entry in the specified row and column.
|
abstract void |
AbstractFieldMatrix.addToEntry(int row,
int column,
T increment)
Change an entry in the specified row and column.
|
void |
BlockFieldMatrix.addToEntry(int row,
int column,
T increment)
Change an entry in the specified row and column.
|
void |
FieldMatrix.addToEntry(int row,
int column,
T increment)
Change an entry in the specified row and column.
|
static void |
MatrixUtils.checkColumnIndex(AnyMatrix m,
int column)
Check if a column index is valid.
|
protected void |
AbstractFieldMatrix.checkColumnIndex(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.
|
static void |
MatrixUtils.checkRowIndex(AnyMatrix m,
int row)
Check if a row index is valid.
|
protected void |
AbstractFieldMatrix.checkRowIndex(int row)
Check if a row index is 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.
|
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.
|
void |
AbstractRealMatrix.copySubMatrix(int[] selectedRows,
int[] selectedColumns,
double[][] destination)
Copy a submatrix.
|
void |
RealMatrix.copySubMatrix(int[] selectedRows,
int[] selectedColumns,
double[][] destination)
Copy a submatrix.
|
void |
AbstractFieldMatrix.copySubMatrix(int[] selectedRows,
int[] selectedColumns,
T[][] destination)
Copy a submatrix.
|
void |
FieldMatrix.copySubMatrix(int[] selectedRows,
int[] selectedColumns,
T[][] destination)
Copy a submatrix.
|
void |
AbstractRealMatrix.copySubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn,
double[][] destination)
Copy a submatrix.
|
void |
RealMatrix.copySubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn,
double[][] destination)
Copy a submatrix.
|
void |
AbstractFieldMatrix.copySubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn,
T[][] destination)
Copy a submatrix.
|
void |
FieldMatrix.copySubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn,
T[][] destination)
Copy a submatrix.
|
double[] |
BlockRealMatrix.getColumn(int column)
Get the entries at the given column index as an array.
|
double[] |
AbstractRealMatrix.getColumn(int column)
Get the entries at the given column index as an array.
|
T[] |
AbstractFieldMatrix.getColumn(int column)
Get the entries in column number
col as an array. |
double[] |
RealMatrix.getColumn(int column)
Get the entries at the given column index as an array.
|
T[] |
BlockFieldMatrix.getColumn(int column)
Get the entries in column number
col as an array. |
T[] |
FieldMatrix.getColumn(int column)
Get the entries in column number
col as an array. |
BlockRealMatrix |
BlockRealMatrix.getColumnMatrix(int column)
Get the entries at the given column index as a column matrix.
|
RealMatrix |
AbstractRealMatrix.getColumnMatrix(int column)
Get the entries at the given column index as a column matrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.getColumnMatrix(int column)
Get the entries in column number
column
as a column matrix. |
RealMatrix |
RealMatrix.getColumnMatrix(int column)
Get the entries at the given column index as a column matrix.
|
FieldMatrix<T> |
BlockFieldMatrix.getColumnMatrix(int column)
Get the entries in column number
column
as a column matrix. |
FieldMatrix<T> |
FieldMatrix.getColumnMatrix(int column)
Get the entries in column number
column
as a column matrix. |
RealVector |
BlockRealMatrix.getColumnVector(int column)
Get the entries at the given column index as a vector.
|
RealVector |
AbstractRealMatrix.getColumnVector(int column)
Get the entries at the given column index as a vector.
|
FieldVector<T> |
AbstractFieldMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
RealVector |
RealMatrix.getColumnVector(int column)
Get the entries at the given column index as a vector.
|
FieldVector<T> |
BlockFieldMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
FieldVector<T> |
FieldMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
T |
FieldVector.getEntry(int index)
Returns the entry in the specified index.
|
abstract double |
RealVector.getEntry(int index)
Return the entry at the specified index.
|
double |
OpenMapRealVector.getEntry(int index)
Return the entry at the specified index.
|
double |
ArrayRealVector.getEntry(int index)
Return the entry at the specified index.
|
T |
SparseFieldVector.getEntry(int index)
Returns the entry in the specified index.
|
T |
Array2DRowFieldMatrix.getEntry(int row,
int column)
Returns the entry in the specified row and column.
|
double |
DiagonalMatrix.getEntry(int row,
int column)
Get the entry in the specified row and column.
|
double |
BlockRealMatrix.getEntry(int row,
int column)
Get 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.
|
abstract T |
AbstractFieldMatrix.getEntry(int row,
int column)
Returns the entry in the specified row and column.
|
double |
RealMatrix.getEntry(int row,
int column)
Get the entry in the specified row and column.
|
double |
Array2DRowRealMatrix.getEntry(int row,
int column)
Get the entry in the specified row and column.
|
T |
BlockFieldMatrix.getEntry(int row,
int column)
Returns the entry in the specified row and column.
|
double |
OpenMapRealMatrix.getEntry(int row,
int column)
Get the entry in the specified row and column.
|
T |
FieldMatrix.getEntry(int row,
int column)
Returns the entry in the specified row and column.
|
double[] |
BlockRealMatrix.getRow(int row)
Get the entries at the given row index.
|
double[] |
AbstractRealMatrix.getRow(int row)
Get the entries at the given row index.
|
T[] |
AbstractFieldMatrix.getRow(int row)
Get the entries in row number
row as an array. |
double[] |
RealMatrix.getRow(int row)
Get the entries at the given row index.
|
T[] |
BlockFieldMatrix.getRow(int row)
Get the entries in row number
row as an array. |
T[] |
FieldMatrix.getRow(int row)
Get the entries in row number
row as an array. |
BlockRealMatrix |
BlockRealMatrix.getRowMatrix(int row)
Get the entries at the given row index as a row matrix.
|
RealMatrix |
AbstractRealMatrix.getRowMatrix(int row)
Get the entries at the given row index as a row matrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.getRowMatrix(int row)
Get the entries in row number
row
as a row matrix. |
RealMatrix |
RealMatrix.getRowMatrix(int row)
Get the entries at the given row index as a row matrix.
|
FieldMatrix<T> |
BlockFieldMatrix.getRowMatrix(int row)
Get the entries in row number
row
as a row matrix. |
FieldMatrix<T> |
FieldMatrix.getRowMatrix(int row)
Get the entries in row number
row
as a row matrix. |
RealVector |
BlockRealMatrix.getRowVector(int row)
Returns the entries in row number
row as a vector. |
RealVector |
AbstractRealMatrix.getRowVector(int row)
Returns the entries in row number
row as a vector. |
FieldVector<T> |
AbstractFieldMatrix.getRowVector(int row)
Get the entries in row number
row
as a vector. |
RealVector |
RealMatrix.getRowVector(int row)
Returns the entries in row number
row as a vector. |
FieldVector<T> |
BlockFieldMatrix.getRowVector(int row)
Get the entries in row number
row
as a vector. |
FieldVector<T> |
FieldMatrix.getRowVector(int row)
Get the entries in row number
row
as a vector. |
RealMatrix |
AbstractRealMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Gets a submatrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Get a submatrix.
|
RealMatrix |
RealMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Gets a submatrix.
|
FieldMatrix<T> |
FieldMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Get a submatrix.
|
BlockRealMatrix |
BlockRealMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Gets a submatrix.
|
RealMatrix |
AbstractRealMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Gets a submatrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Get a submatrix.
|
RealMatrix |
RealMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Gets a submatrix.
|
FieldMatrix<T> |
BlockFieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Get a submatrix.
|
FieldMatrix<T> |
FieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Get a submatrix.
|
FieldVector<T> |
FieldVector.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.
|
OpenMapRealVector |
OpenMapRealVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
RealVector |
ArrayRealVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
FieldVector<T> |
SparseFieldVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
FieldVector<T> |
ArrayFieldVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
void |
DiagonalMatrix.multiplyEntry(int row,
int column,
double factor)
Multiplies (in place) the specified entry of
this matrix by the
specified value. |
void |
BlockRealMatrix.multiplyEntry(int row,
int column,
double factor)
Multiplies (in place) the specified entry of
this matrix by the
specified value. |
void |
AbstractRealMatrix.multiplyEntry(int row,
int column,
double factor)
Multiplies (in place) the specified entry of
this matrix by the
specified value. |
void |
RealMatrix.multiplyEntry(int row,
int column,
double factor)
Multiplies (in place) the specified entry of
this matrix by the
specified value. |
void |
Array2DRowRealMatrix.multiplyEntry(int row,
int column,
double factor)
Multiplies (in place) the specified entry of
this matrix by the
specified value. |
void |
OpenMapRealMatrix.multiplyEntry(int row,
int column,
double factor)
Multiplies (in place) the specified entry of
this matrix by the
specified value. |
void |
Array2DRowFieldMatrix.multiplyEntry(int row,
int column,
T factor)
Change an entry in the specified row and column.
|
abstract void |
AbstractFieldMatrix.multiplyEntry(int row,
int column,
T factor)
Change an entry in the specified row and column.
|
void |
BlockFieldMatrix.multiplyEntry(int row,
int column,
T factor)
Change an entry in the specified row and column.
|
void |
FieldMatrix.multiplyEntry(int row,
int column,
T factor)
Change an entry in the specified row and column.
|
void |
ArrayFieldVector.set(int index,
ArrayFieldVector<T> v)
Set a set of consecutive elements.
|
void |
BlockRealMatrix.setColumn(int column,
double[] array)
Sets the specified
column of this matrix to the entries
of the specified array . |
void |
AbstractRealMatrix.setColumn(int column,
double[] array)
Sets the specified
column of this matrix to the entries
of the specified array . |
void |
RealMatrix.setColumn(int column,
double[] array)
Sets the specified
column of this matrix to the entries
of the specified array . |
void |
AbstractFieldMatrix.setColumn(int column,
T[] array)
Set the entries in column number
column
as a column matrix. |
void |
BlockFieldMatrix.setColumn(int column,
T[] array)
Set the entries in column number
column
as a column matrix. |
void |
FieldMatrix.setColumn(int column,
T[] array)
Set the entries in column number
column
as a column matrix. |
void |
AbstractFieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Set the entries in column number
column
as a column matrix. |
void |
BlockFieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Set the entries in column number
column
as a column matrix. |
void |
FieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Set the entries in column number
column
as a column matrix. |
void |
BlockRealMatrix.setColumnMatrix(int column,
RealMatrix matrix)
Sets the specified
column of this matrix to the entries
of the specified column matrix . |
void |
AbstractRealMatrix.setColumnMatrix(int column,
RealMatrix matrix)
Sets the specified
column of this matrix to the entries
of the specified column matrix . |
void |
RealMatrix.setColumnMatrix(int column,
RealMatrix matrix)
Sets the specified
column of this matrix to the entries
of the specified column matrix . |
void |
AbstractFieldMatrix.setColumnVector(int column,
FieldVector<T> vector)
Set the entries in column number
column
as a vector. |
void |
BlockFieldMatrix.setColumnVector(int column,
FieldVector<T> vector)
Set the entries in column number
column
as a vector. |
void |
FieldMatrix.setColumnVector(int column,
FieldVector<T> vector)
Set the entries in column number
column
as a vector. |
void |
BlockRealMatrix.setColumnVector(int column,
RealVector vector)
Sets the specified
column of this matrix to the entries
of the specified vector . |
void |
AbstractRealMatrix.setColumnVector(int column,
RealVector vector)
Sets the specified
column of this matrix to the entries
of the specified vector . |
void |
RealMatrix.setColumnVector(int column,
RealVector vector)
Sets the specified
column of this matrix to the entries
of the specified vector . |
abstract void |
RealVector.setEntry(int index,
double value)
Set a single element.
|
void |
OpenMapRealVector.setEntry(int index,
double value)
Set a single element.
|
void |
ArrayRealVector.setEntry(int index,
double value)
Set a single element.
|
void |
DiagonalMatrix.setEntry(int row,
int column,
double value)
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.
|
abstract void |
AbstractRealMatrix.setEntry(int row,
int column,
double value)
Set the entry in the specified row and column.
|
void |
RealMatrix.setEntry(int row,
int column,
double value)
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 |
OpenMapRealMatrix.setEntry(int row,
int column,
double value)
Set the entry in the specified row and column.
|
void |
Array2DRowFieldMatrix.setEntry(int row,
int column,
T value)
Set the entry in the specified row and column.
|
abstract void |
AbstractFieldMatrix.setEntry(int row,
int column,
T value)
Set the entry in the specified row and column.
|
void |
BlockFieldMatrix.setEntry(int row,
int column,
T value)
Set the entry in the specified row and column.
|
void |
FieldMatrix.setEntry(int row,
int column,
T value)
Set the entry in the specified row and column.
|
void |
FieldVector.setEntry(int index,
T value)
Set a single element.
|
void |
SparseFieldVector.setEntry(int index,
T value)
Set a single element.
|
void |
BlockRealMatrix.setRow(int row,
double[] array)
Sets the specified
row of this matrix to the entries
of the specified array . |
void |
AbstractRealMatrix.setRow(int row,
double[] array)
Sets the specified
row of this matrix to the entries
of the specified array . |
void |
RealMatrix.setRow(int row,
double[] array)
Sets the specified
row of this matrix to the entries
of the specified array . |
void |
AbstractFieldMatrix.setRow(int row,
T[] array)
Set the entries in row number
row
as a row matrix. |
void |
BlockFieldMatrix.setRow(int row,
T[] array)
Set the entries in row number
row
as a row matrix. |
void |
FieldMatrix.setRow(int row,
T[] array)
Set the entries in row number
row
as a row matrix. |
void |
BlockFieldMatrix.setRowMatrix(int row,
BlockFieldMatrix<T> matrix)
Sets the entries in row number
row
as a row matrix. |
void |
BlockRealMatrix.setRowMatrix(int row,
BlockRealMatrix matrix)
Sets the entries in row number
row
as a row matrix. |
void |
AbstractFieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Set the entries in row number
row
as a row matrix. |
void |
BlockFieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Set the entries in row number
row
as a row matrix. |
void |
FieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Set the entries in row number
row
as a row matrix. |
void |
BlockRealMatrix.setRowMatrix(int row,
RealMatrix matrix)
Sets the specified
row of this matrix to the entries of
the specified row matrix . |
void |
AbstractRealMatrix.setRowMatrix(int row,
RealMatrix matrix)
Sets the specified
row of this matrix to the entries of
the specified row matrix . |
void |
RealMatrix.setRowMatrix(int row,
RealMatrix matrix)
Sets the specified
row of this matrix to the entries of
the specified row matrix . |
void |
AbstractFieldMatrix.setRowVector(int row,
FieldVector<T> vector)
Set the entries in row number
row
as a vector. |
void |
BlockFieldMatrix.setRowVector(int row,
FieldVector<T> vector)
Set the entries in row number
row
as a vector. |
void |
FieldMatrix.setRowVector(int row,
FieldVector<T> vector)
Set the entries in row number
row
as a vector. |
void |
BlockRealMatrix.setRowVector(int row,
RealVector vector)
Sets the specified
row of this matrix to the entries of
the specified vector . |
void |
AbstractRealMatrix.setRowVector(int row,
RealVector vector)
Sets the specified
row of this matrix to the entries of
the specified vector . |
void |
RealMatrix.setRowVector(int row,
RealVector vector)
Sets the specified
row of this matrix to the entries of
the specified vector . |
void |
BlockRealMatrix.setSubMatrix(double[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
row, column using data in the
input subMatrix array. |
void |
AbstractRealMatrix.setSubMatrix(double[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
row, column using data in the
input subMatrix array. |
void |
RealMatrix.setSubMatrix(double[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
row, column using data in the
input subMatrix array. |
void |
Array2DRowRealMatrix.setSubMatrix(double[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
row, column using data in the
input subMatrix array. |
void |
Array2DRowFieldMatrix.setSubMatrix(T[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
(row, column) using data in the
input subMatrix array. |
void |
AbstractFieldMatrix.setSubMatrix(T[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
(row, column) using data in the
input subMatrix array. |
void |
BlockFieldMatrix.setSubMatrix(T[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
(row, column) using data in the
input subMatrix array. |
void |
FieldMatrix.setSubMatrix(T[][] subMatrix,
int row,
int column)
Replace the submatrix starting at
(row, column) using data in the
input subMatrix array. |
void |
ArrayRealVector.setSubVector(int index,
double[] v)
Set a set of consecutive elements.
|
void |
FieldVector.setSubVector(int index,
FieldVector<T> v)
Set a set of consecutive elements.
|
void |
SparseFieldVector.setSubVector(int index,
FieldVector<T> v)
Set a set of consecutive elements.
|
void |
ArrayFieldVector.setSubVector(int index,
FieldVector<T> v)
Set a set of consecutive elements.
|
abstract void |
RealVector.setSubVector(int index,
RealVector v)
Set a sequence of consecutive elements.
|
void |
OpenMapRealVector.setSubVector(int index,
RealVector v)
Set a sequence of consecutive elements.
|
void |
ArrayRealVector.setSubVector(int index,
RealVector v)
Set a sequence of consecutive elements.
|
T |
Array2DRowFieldMatrix.walkInColumnOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in column order.
|
T |
AbstractFieldMatrix.walkInColumnOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in column order.
|
T |
FieldMatrix.walkInColumnOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in column order.
|
T |
Array2DRowFieldMatrix.walkInColumnOrder(FieldMatrixPreservingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't change) some matrix entries in column order.
|
T |
AbstractFieldMatrix.walkInColumnOrder(FieldMatrixPreservingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't change) some matrix entries in column order.
|
T |
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 |
AbstractRealMatrix.walkInColumnOrder(RealMatrixChangingVisitor visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly 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 |
Array2DRowRealMatrix.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.
|
double |
RealMatrix.walkInColumnOrder(RealMatrixPreservingVisitor visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't 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.
|
T |
SparseFieldVector.walkInDefaultOrder(FieldVectorChangingVisitor<T> visitor,
int start,
int end)
Visits (and possibly alters) some entries of this vector in default order
(increasing index).
|
T |
ArrayFieldVector.walkInDefaultOrder(FieldVectorChangingVisitor<T> visitor,
int start,
int end)
Visits (and possibly alters) some entries of this vector in default order
(increasing index).
|
T |
SparseFieldVector.walkInDefaultOrder(FieldVectorPreservingVisitor<T> visitor,
int start,
int end)
Visits (but does not alter) some entries of this vector in default order
(increasing index).
|
T |
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 |
RealVector.walkInDefaultOrder(RealVectorChangingVisitor visitor,
int start,
int end)
Visits (and possibly alters) 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 |
RealVector.walkInDefaultOrder(RealVectorPreservingVisitor visitor,
int start,
int end)
Visits (but does not alter) 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).
|
T |
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.
|
T |
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.
|
T |
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.
|
T |
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.
|
T |
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.
|
T |
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.
|
T |
SparseFieldVector.walkInOptimizedOrder(FieldVectorChangingVisitor<T> visitor,
int start,
int end)
Visits (and possibly change) some entries of this vector in optimized
order.
|
T |
ArrayFieldVector.walkInOptimizedOrder(FieldVectorChangingVisitor<T> visitor,
int start,
int end)
Visits (and possibly change) some entries of this vector in optimized
order.
|
T |
SparseFieldVector.walkInOptimizedOrder(FieldVectorPreservingVisitor<T> visitor,
int start,
int end)
Visits (but does not alter) some entries of this vector in optimized
order.
|
T |
ArrayFieldVector.walkInOptimizedOrder(FieldVectorPreservingVisitor<T> visitor,
int start,
int end)
Visits (but does not alter) some entries of this vector in optimized
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 |
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 |
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 |
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.
|
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.
|
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 |
ArrayRealVector.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.
|
double |
ArrayRealVector.walkInOptimizedOrder(RealVectorPreservingVisitor visitor,
int start,
int end)
Visits (but does not alter) some entries of this vector in optimized
order.
|
T |
Array2DRowFieldMatrix.walkInRowOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in row order.
|
T |
AbstractFieldMatrix.walkInRowOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in row order.
|
T |
BlockFieldMatrix.walkInRowOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in row order.
|
T |
FieldMatrix.walkInRowOrder(FieldMatrixChangingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly change) some matrix entries in row order.
|
T |
Array2DRowFieldMatrix.walkInRowOrder(FieldMatrixPreservingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't change) some matrix entries in row order.
|
T |
AbstractFieldMatrix.walkInRowOrder(FieldMatrixPreservingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't change) some matrix entries in row order.
|
T |
BlockFieldMatrix.walkInRowOrder(FieldMatrixPreservingVisitor<T> visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't change) some matrix entries in row order.
|
T |
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 |
BlockRealMatrix.walkInRowOrder(RealMatrixChangingVisitor visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly 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 |
RealMatrix.walkInRowOrder(RealMatrixChangingVisitor visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (and possibly 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 |
BlockRealMatrix.walkInRowOrder(RealMatrixPreservingVisitor visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't 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.
|
double |
RealMatrix.walkInRowOrder(RealMatrixPreservingVisitor visitor,
int startRow,
int endRow,
int startColumn,
int endColumn)
Visit (but don't 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.
|
Modifier and Type | Method and Description |
---|---|
double |
EmpiricalDistribution.inverseCumulativeProbability(double p)
Computes the quantile function of this distribution.
|
int |
RandomDataGenerator.nextPascal(int r,
double p)
Generates a random value from the
Pascal Distribution . |
int |
RandomDataImpl.nextPascal(int r,
double p)
Deprecated.
Generates a random value from the
Pascal Distribution . |
Constructor and Description |
---|
HaltonSequenceGenerator(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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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.
|
static boolean |
TestUtils.chiSquareTest(double[] expected,
long[] observed,
double alpha) |
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 level
alpha . |
static boolean |
TestUtils.chiSquareTest(long[][] counts,
double alpha) |
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 level
alpha . |
static boolean |
TestUtils.chiSquareTestDataSetsComparison(long[] observed1,
long[] observed2,
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.gTest(double[] expected,
long[] observed,
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 level
alpha . |
static boolean |
TestUtils.gTestDataSetsComparison(long[] observed1,
long[] observed2,
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.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 that
sample1
and sample2 are drawn from populations with the same mean,
with significance level alpha , 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 between
sample1 and
sample2 is 0 in favor of the two-sided alternative that the
mean paired difference is not equal to 0, with significance level
alpha . |
static boolean |
TestUtils.tTest(double[] sample1,
double[] sample2,
double alpha) |
boolean |
TTest.tTest(double[] sample1,
double[] sample2,
double alpha)
Performs a
two-sided t-test evaluating the null hypothesis that
sample1
and sample2 are drawn from populations with the same mean,
with significance level alpha . |
static boolean |
TestUtils.tTest(double mu,
double[] sample,
double alpha) |
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
which
sample is drawn equals mu . |
static boolean |
TestUtils.tTest(double mu,
StatisticalSummary sampleStats,
double alpha) |
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 by
stats is
drawn equals mu . |
static boolean |
TestUtils.tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2,
double alpha) |
boolean |
TTest.tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2,
double alpha)
Performs a
two-sided t-test evaluating the null hypothesis that
sampleStats1 and sampleStats2 describe
datasets drawn from populations with the same mean, with significance
level alpha . |
Modifier and Type | Method and Description |
---|---|
ConfidenceInterval |
BinomialConfidenceInterval.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.
|
Modifier and Type | Method and Description |
---|---|
double |
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).
|
Modifier and Type | Method and Description |
---|---|
int |
MultidimensionalCounter.getCount(int... c)
Convert to unidimensional counter.
|
int[] |
MultidimensionalCounter.getCounts(int index)
Convert to multidimensional counter.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.