Package | Description |
---|---|
org.hipparchus.linear |
Linear algebra support.
|
org.hipparchus.ode.nonstiff |
This package provides classes to solve non-stiff Ordinary Differential Equations problems.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFieldMatrix<T extends FieldElement<T>>
Basic implementation of
FieldMatrix methods regardless of the underlying storage. |
class |
Array2DRowFieldMatrix<T extends FieldElement<T>>
Implementation of FieldMatrix
FieldElement [][] array to store entries. |
class |
BlockFieldMatrix<T extends FieldElement<T>>
Cache-friendly implementation of FieldMatrix using a flat arrays to store
square blocks of the matrix.
|
class |
SparseFieldMatrix<T extends FieldElement<T>>
Sparse matrix implementation based on an open addressed map.
|
Modifier and Type | Method and Description |
---|---|
FieldMatrix<T> |
BlockFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m.
|
FieldMatrix<T> |
FieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m.
|
FieldMatrix<T> |
AbstractFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m.
|
FieldMatrix<T> |
BlockFieldMatrix.copy()
Make a (deep) copy of this.
|
FieldMatrix<T> |
FieldMatrix.copy()
Make a (deep) copy of this.
|
FieldMatrix<T> |
Array2DRowFieldMatrix.copy()
Make a (deep) copy of this.
|
FieldMatrix<T> |
SparseFieldMatrix.copy()
Make a (deep) copy of this.
|
abstract FieldMatrix<T> |
AbstractFieldMatrix.copy()
Make a (deep) copy of this.
|
static <T extends FieldElement<T>> |
MatrixUtils.createColumnFieldMatrix(T[] columnData)
Creates a column
FieldMatrix using the data from the input
array. |
static <T extends FieldElement<T>> |
MatrixUtils.createFieldDiagonalMatrix(T[] diagonal)
Returns a diagonal matrix with specified elements.
|
static <T extends FieldElement<T>> |
MatrixUtils.createFieldIdentityMatrix(Field<T> field,
int dimension)
Returns
dimension x dimension identity matrix. |
static <T extends FieldElement<T>> |
MatrixUtils.createFieldMatrix(Field<T> field,
int rows,
int columns)
Returns a
FieldMatrix with specified dimensions. |
static <T extends FieldElement<T>> |
MatrixUtils.createFieldMatrix(T[][] data)
Returns a
FieldMatrix whose entries are the the values in the
the input array. |
FieldMatrix<T> |
BlockFieldMatrix.createMatrix(int rowDimension,
int columnDimension)
Create a new FieldMatrix
|
FieldMatrix<T> |
FieldMatrix.createMatrix(int rowDimension,
int columnDimension)
Create a new FieldMatrix
|
FieldMatrix<T> |
Array2DRowFieldMatrix.createMatrix(int rowDimension,
int columnDimension)
Create a new FieldMatrix
|
FieldMatrix<T> |
SparseFieldMatrix.createMatrix(int rowDimension,
int columnDimension)
Create a new FieldMatrix
|
abstract FieldMatrix<T> |
AbstractFieldMatrix.createMatrix(int rowDimension,
int columnDimension)
Create a new FieldMatrix
|
static <T extends FieldElement<T>> |
MatrixUtils.createRowFieldMatrix(T[] rowData)
Create a row
FieldMatrix using the data from the input
array. |
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. |
FieldMatrix<T> |
AbstractFieldMatrix.getColumnMatrix(int column)
Get the entries in column number
column
as a column matrix. |
FieldMatrix<Complex> |
ComplexEigenDecomposition.getD()
Getter D.
|
FieldMatrix<T> |
FieldQRDecomposition.getH()
Returns the Householder reflector vectors.
|
FieldMatrix<T> |
FieldDecompositionSolver.getInverse()
Get the inverse (or pseudo-inverse) of the decomposed matrix.
|
FieldMatrix<T> |
FieldLUDecomposition.getL()
Returns the matrix L of the decomposition.
|
FieldMatrix<T> |
FieldLUDecomposition.getP()
Returns the P rows permutation matrix.
|
FieldMatrix<T> |
FieldQRDecomposition.getQ()
Returns the matrix Q of the decomposition.
|
FieldMatrix<T> |
FieldQRDecomposition.getQT()
Returns the transpose of the matrix Q of the decomposition.
|
FieldMatrix<T> |
FieldQRDecomposition.getR()
Returns the matrix R of the decomposition.
|
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. |
FieldMatrix<T> |
AbstractFieldMatrix.getRowMatrix(int row)
Get the entries in row number
row
as a row matrix. |
FieldMatrix<T> |
FieldMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Get a submatrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Get 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.
|
FieldMatrix<T> |
Array2DRowFieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Get a submatrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Get a submatrix.
|
FieldMatrix<T> |
FieldLUDecomposition.getU()
Returns the matrix U of the decomposition.
|
FieldMatrix<Complex> |
ComplexEigenDecomposition.getV()
Getter V.
|
FieldMatrix<Complex> |
ComplexEigenDecomposition.getVT()
Getter VT.
|
FieldMatrix<Complex> |
OrderedComplexEigenDecomposition.getVT()
Getter VT.
|
default FieldMatrix<T> |
FieldMatrix.map(Function<T,T> function)
Acts as if implemented as:
|
default FieldMatrix<T> |
FieldMatrix.mapToSelf(Function<T,T> function)
Replace each entry by the result of applying the function to it.
|
FieldMatrix<T> |
BlockFieldMatrix.multiply(FieldMatrix<T> m)
Postmultiply this matrix by
m . |
FieldMatrix<T> |
FieldMatrix.multiply(FieldMatrix<T> m)
Postmultiply this matrix by
m . |
FieldMatrix<T> |
AbstractFieldMatrix.multiply(FieldMatrix<T> m)
Postmultiply this matrix by
m . |
FieldMatrix<T> |
Array2DRowFieldMatrix.multiplyTransposed(Array2DRowFieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
default FieldMatrix<T> |
FieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
FieldMatrix<T> |
Array2DRowFieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
FieldMatrix<T> |
SparseFieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
FieldMatrix<T> |
ArrayFieldVector.outerProduct(ArrayFieldVector<T> v)
Compute the outer product.
|
FieldMatrix<T> |
ArrayFieldVector.outerProduct(FieldVector<T> v)
Compute the outer product.
|
FieldMatrix<T> |
SparseFieldVector.outerProduct(FieldVector<T> v)
Compute the outer product.
|
FieldMatrix<T> |
FieldVector.outerProduct(FieldVector<T> v)
Compute the outer product.
|
FieldMatrix<T> |
SparseFieldVector.outerProduct(SparseFieldVector<T> v)
Optimized method to compute outer product when both vectors are sparse.
|
FieldMatrix<T> |
FieldMatrix.power(int p)
Returns the result multiplying this with itself
p times. |
FieldMatrix<T> |
AbstractFieldMatrix.power(int p)
Returns the result multiplying this with itself
p times. |
FieldMatrix<T> |
FieldMatrix.preMultiply(FieldMatrix<T> m)
Premultiply this matrix by
m . |
FieldMatrix<T> |
AbstractFieldMatrix.preMultiply(FieldMatrix<T> m)
Premultiply this matrix by
m . |
FieldMatrix<T> |
BlockFieldMatrix.scalarAdd(T d)
Increment each entry of this matrix.
|
FieldMatrix<T> |
FieldMatrix.scalarAdd(T d)
Increment each entry of this matrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.scalarAdd(T d)
Increment each entry of this matrix.
|
FieldMatrix<T> |
BlockFieldMatrix.scalarMultiply(T d)
Multiply each entry by
d . |
FieldMatrix<T> |
FieldMatrix.scalarMultiply(T d)
Multiply each entry by
d . |
FieldMatrix<T> |
AbstractFieldMatrix.scalarMultiply(T d)
Multiply each entry by
d . |
FieldMatrix<T> |
FieldDecompositionSolver.solve(FieldMatrix<T> b)
Solve the linear equation A × X = B for matrices A.
|
FieldMatrix<T> |
BlockFieldMatrix.subtract(FieldMatrix<T> m)
Subtract
m from this matrix. |
FieldMatrix<T> |
FieldMatrix.subtract(FieldMatrix<T> m)
Subtract
m from this matrix. |
FieldMatrix<T> |
AbstractFieldMatrix.subtract(FieldMatrix<T> m)
Subtract
m from this matrix. |
FieldMatrix<T> |
BlockFieldMatrix.transpose()
Returns the transpose of this matrix.
|
FieldMatrix<T> |
FieldMatrix.transpose()
Returns the transpose of this matrix.
|
FieldMatrix<T> |
AbstractFieldMatrix.transpose()
Returns the transpose of this matrix.
|
FieldMatrix<T> |
Array2DRowFieldMatrix.transposeMultiply(Array2DRowFieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
default FieldMatrix<T> |
FieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
FieldMatrix<T> |
Array2DRowFieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
FieldMatrix<T> |
SparseFieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
Modifier and Type | Method and Description |
---|---|
FieldMatrix<T> |
BlockFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m.
|
FieldMatrix<T> |
FieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m.
|
FieldMatrix<T> |
AbstractFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m.
|
static Array2DRowRealMatrix |
MatrixUtils.bigFractionMatrixToRealMatrix(FieldMatrix<BigFraction> m)
|
protected void |
AbstractFieldMatrix.checkAdditionCompatible(FieldMatrix<T> m)
Check if a matrix is addition compatible with the instance.
|
protected void |
AbstractFieldMatrix.checkMultiplicationCompatible(FieldMatrix<T> m)
Check if a matrix is multiplication compatible with the instance.
|
protected void |
AbstractFieldMatrix.checkSubtractionCompatible(FieldMatrix<T> m)
Check if a matrix is subtraction compatible with the instance.
|
protected void |
ComplexEigenDecomposition.findEigenVectors(FieldMatrix<Complex> matrix)
Compute the eigen vectors using the inverse power method.
|
static Array2DRowRealMatrix |
MatrixUtils.fractionMatrixToRealMatrix(FieldMatrix<Fraction> m)
|
FieldMatrix<T> |
BlockFieldMatrix.multiply(FieldMatrix<T> m)
Postmultiply this matrix by
m . |
FieldMatrix<T> |
FieldMatrix.multiply(FieldMatrix<T> m)
Postmultiply this matrix by
m . |
FieldMatrix<T> |
AbstractFieldMatrix.multiply(FieldMatrix<T> m)
Postmultiply this matrix by
m . |
BlockFieldMatrix<T> |
BlockFieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
default FieldMatrix<T> |
FieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
FieldMatrix<T> |
Array2DRowFieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
FieldMatrix<T> |
SparseFieldMatrix.multiplyTransposed(FieldMatrix<T> m)
Returns the result of postmultiplying
this by m^T . |
FieldMatrix<T> |
FieldMatrix.preMultiply(FieldMatrix<T> m)
Premultiply this matrix by
m . |
FieldMatrix<T> |
AbstractFieldMatrix.preMultiply(FieldMatrix<T> m)
Premultiply this matrix by
m . |
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 |
AbstractFieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Set the entries in column number
column
as a column 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 |
AbstractFieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Set the entries in row number
row
as a row matrix. |
FieldMatrix<T> |
FieldDecompositionSolver.solve(FieldMatrix<T> b)
Solve the linear equation A × X = B for matrices A.
|
FieldMatrix<T> |
BlockFieldMatrix.subtract(FieldMatrix<T> m)
Subtract
m from this matrix. |
FieldMatrix<T> |
FieldMatrix.subtract(FieldMatrix<T> m)
Subtract
m from this matrix. |
FieldMatrix<T> |
AbstractFieldMatrix.subtract(FieldMatrix<T> m)
Subtract
m from this matrix. |
BlockFieldMatrix<T> |
BlockFieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
default FieldMatrix<T> |
FieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
FieldMatrix<T> |
Array2DRowFieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
FieldMatrix<T> |
SparseFieldMatrix.transposeMultiply(FieldMatrix<T> m)
Returns the result of postmultiplying
this^T by m . |
Constructor and Description |
---|
FieldLUDecomposition(FieldMatrix<T> matrix)
Calculates the LU-decomposition of the given matrix.
|
FieldLUDecomposition(FieldMatrix<T> matrix,
Predicate<T> zeroChecker)
Calculates the LU-decomposition of the given matrix.
|
FieldLUDecomposition(FieldMatrix<T> matrix,
Predicate<T> zeroChecker,
boolean numericPermutationChoice)
Calculates the LU-decomposition of the given matrix.
|
FieldQRDecomposition(FieldMatrix<T> matrix)
Calculates the QR-decomposition of the given matrix.
|
FieldQRDecomposition(FieldMatrix<T> matrix,
T threshold)
Calculates the QR-decomposition of the given matrix.
|
FieldQRDecomposition(FieldMatrix<T> matrix,
T threshold,
Predicate<T> zeroChecker)
Calculates the QR-decomposition of the given matrix.
|
SparseFieldMatrix(FieldMatrix<T> other)
Generic copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
AdamsMoultonFieldIntegrator.errorEstimation(T[] previousState,
T predictedTime,
T[] predictedState,
T[] predictedScaled,
FieldMatrix<T> predictedNordsieck)
Estimate error.
|
protected abstract double |
AdamsFieldIntegrator.errorEstimation(T[] previousState,
T predictedTime,
T[] predictedState,
T[] predictedScaled,
FieldMatrix<T> predictedNordsieck)
Estimate error.
|
protected double |
AdamsBashforthFieldIntegrator.errorEstimation(T[] previousState,
T predictedTime,
T[] predictedState,
T[] predictedScaled,
FieldMatrix<T> predictedNordsieck)
Estimate error.
|
Copyright © 2016-2021 CS GROUP. All rights reserved.