Uses of Interface
org.hipparchus.linear.FieldMatrix
Package
Description
Linear algebra support.
This package provides classes to solve non-stiff Ordinary Differential Equations problems.
-
Uses of FieldMatrix in org.hipparchus.linear
Modifier and TypeClassDescriptionclass
AbstractFieldMatrix<T extends FieldElement<T>>
Basic implementation ofFieldMatrix
methods regardless of the underlying storage.class
Array2DRowFieldMatrix<T extends FieldElement<T>>
Implementation ofFieldMatrix
using aFieldElement
[][] 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 TypeMethodDescriptionAbstractFieldMatrix.add
(FieldMatrix<T> m) Compute the sum of this and m.BlockFieldMatrix.add
(FieldMatrix<T> m) Compute the sum of this and m.FieldMatrix.add
(FieldMatrix<T> m) Compute the sum of this and m.default FieldMatrix<T>
FieldMatrix.blendArithmeticallyWith
(FieldMatrix<T> other, T blendingValue) Blend arithmetically this instance with another one.abstract FieldMatrix<T>
AbstractFieldMatrix.copy()
Make a (deep) copy of this.Array2DRowFieldMatrix.copy()
Make a (deep) copy of this.BlockFieldMatrix.copy()
Make a (deep) copy of this.FieldMatrix.copy()
Make a (deep) copy of this.SparseFieldMatrix.copy()
Make a (deep) copy of this.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils.createColumnFieldMatrix
(T[] columnData) Creates a columnFieldMatrix
using the data from the input array.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils.createFieldDiagonalMatrix
(T[] diagonal) Returns a diagonal matrix with specified elements.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils.createFieldIdentityMatrix
(Field<T> field, int dimension) Returnsdimension x dimension
identity matrix.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils.createFieldMatrix
(Field<T> field, int rows, int columns) Returns aFieldMatrix
with specified dimensions.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils.createFieldMatrix
(T[][] data) Returns aFieldMatrix
whose entries are the the values in the the input array.abstract FieldMatrix<T>
AbstractFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a newFieldMatrix
of the same type as the instance with the supplied row and column dimensions.Array2DRowFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a newFieldMatrix
of the same type as the instance with the supplied row and column dimensions.BlockFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a newFieldMatrix
of the same type as the instance with the supplied row and column dimensions.FieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a newFieldMatrix
of the same type as the instance with the supplied row and column dimensions.SparseFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a newFieldMatrix
of the same type as the instance with the supplied row and column dimensions.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils.createRowFieldMatrix
(T[] rowData) Create a rowFieldMatrix
using the data from the input array.AbstractFieldMatrix.getColumnMatrix
(int column) Get the entries in column numbercolumn
as a column matrix.BlockFieldMatrix.getColumnMatrix
(int column) Get the entries in column numbercolumn
as a column matrix.FieldMatrix.getColumnMatrix
(int column) Get the entries in column numbercolumn
as a column matrix.ComplexEigenDecomposition.getD()
Getter D.FieldQRDecomposition.getH()
Returns the Householder reflector vectors.FieldDecompositionSolver.getInverse()
Get the inverse (or pseudo-inverse) of the decomposed matrix.FieldLUDecomposition.getL()
Returns the matrix L of the decomposition.FieldLUDecomposition.getP()
Returns the P rows permutation matrix.FieldQRDecomposition.getQ()
Returns the matrix Q of the decomposition.FieldQRDecomposition.getQT()
Returns the transpose of the matrix Q of the decomposition.FieldQRDecomposition.getR()
Returns the matrix R of the decomposition.AbstractFieldMatrix.getRowMatrix
(int row) Get the entries in row numberrow
as a row matrix.BlockFieldMatrix.getRowMatrix
(int row) Get the entries in row numberrow
as a row matrix.FieldMatrix.getRowMatrix
(int row) Get the entries in row numberrow
as a row matrix.AbstractFieldMatrix.getSubMatrix
(int[] selectedRows, int[] selectedColumns) Get a submatrix.AbstractFieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.Array2DRowFieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.BlockFieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.FieldMatrix.getSubMatrix
(int[] selectedRows, int[] selectedColumns) Get a submatrix.FieldMatrix.getSubMatrix
(int startRow, int endRow, int startColumn, int endColumn) Get a submatrix.FieldLUDecomposition.getU()
Returns the matrix U of the decomposition.ComplexEigenDecomposition.getV()
Getter V.ComplexEigenDecomposition.getVT()
Getter VT.OrderedComplexEigenDecomposition.getVT()
Getter VT.default FieldMatrix<T>
Acts as if implemented as:default FieldMatrix<T>
Replace each entry by the result of applying the function to it.AbstractFieldMatrix.multiply
(FieldMatrix<T> m) Postmultiply this matrix bym
.BlockFieldMatrix.multiply
(FieldMatrix<T> m) Postmultiply this matrix bym
.FieldMatrix.multiply
(FieldMatrix<T> m) Postmultiply this matrix bym
.Array2DRowFieldMatrix.multiplyTransposed
(Array2DRowFieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.Array2DRowFieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.default FieldMatrix<T>
FieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.SparseFieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.ArrayFieldVector.outerProduct
(ArrayFieldVector<T> v) Compute the outer product.ArrayFieldVector.outerProduct
(FieldVector<T> v) Compute the outer product.FieldVector.outerProduct
(FieldVector<T> v) Compute the outer product.SparseFieldVector.outerProduct
(FieldVector<T> v) Compute the outer product.SparseFieldVector.outerProduct
(SparseFieldVector<T> v) Optimized method to compute outer product when both vectors are sparse.AbstractFieldMatrix.power
(int p) Returns the result multiplying this with itselfp
times.FieldMatrix.power
(int p) Returns the result multiplying this with itselfp
times.AbstractFieldMatrix.preMultiply
(FieldMatrix<T> m) Premultiply this matrix bym
.FieldMatrix.preMultiply
(FieldMatrix<T> m) Premultiply this matrix bym
.Increment each entry of this matrix.Increment each entry of this matrix.Increment each entry of this matrix.AbstractFieldMatrix.scalarMultiply
(T d) Multiply each entry byd
.BlockFieldMatrix.scalarMultiply
(T d) Multiply each entry byd
.FieldMatrix.scalarMultiply
(T d) Multiply each entry byd
.FieldDecompositionSolver.solve
(FieldMatrix<T> b) Solve the linear equation A × X = B for matrices A.AbstractFieldMatrix.subtract
(FieldMatrix<T> m) Subtractm
from this matrix.BlockFieldMatrix.subtract
(FieldMatrix<T> m) Subtractm
from this matrix.FieldMatrix.subtract
(FieldMatrix<T> m) Subtractm
from this matrix.AbstractFieldMatrix.transpose()
Returns the transpose of this matrix.BlockFieldMatrix.transpose()
Returns the transpose of this matrix.FieldMatrix.transpose()
Returns the transpose of this matrix.Array2DRowFieldMatrix.transposeMultiply
(Array2DRowFieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.Array2DRowFieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.default FieldMatrix<T>
FieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.SparseFieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.Modifier and TypeMethodDescriptionAbstractFieldMatrix.add
(FieldMatrix<T> m) Compute the sum of this and m.BlockFieldMatrix.add
(FieldMatrix<T> m) Compute the sum of this and m.FieldMatrix.add
(FieldMatrix<T> m) Compute the sum of this and m.static Array2DRowRealMatrix
MatrixUtils.bigFractionMatrixToRealMatrix
(FieldMatrix<BigFraction> m) default FieldMatrix<T>
FieldMatrix.blendArithmeticallyWith
(FieldMatrix<T> other, T blendingValue) Blend arithmetically this instance with another one.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.FieldLUDecomposer.decompose
(FieldMatrix<T> a) Get a solver for finding the A × X = B solution in least square sense.FieldMatrixDecomposer.decompose
(FieldMatrix<T> a) Get a solver for finding the A × X = B solution in least square sense.FieldQRDecomposer.decompose
(FieldMatrix<T> a) Get a solver for finding the A × X = B solution in least square sense.protected void
ComplexEigenDecomposition.findEigenVectors
(FieldMatrix<Complex> matrix) Compute the eigen vectors using the inverse power method.static Array2DRowRealMatrix
MatrixUtils.fractionMatrixToRealMatrix
(FieldMatrix<Fraction> m) AbstractFieldMatrix.multiply
(FieldMatrix<T> m) Postmultiply this matrix bym
.BlockFieldMatrix.multiply
(FieldMatrix<T> m) Postmultiply this matrix bym
.FieldMatrix.multiply
(FieldMatrix<T> m) Postmultiply this matrix bym
.Array2DRowFieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.BlockFieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.default FieldMatrix<T>
FieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.SparseFieldMatrix.multiplyTransposed
(FieldMatrix<T> m) Returns the result of postmultiplyingthis
bym^T
.AbstractFieldMatrix.preMultiply
(FieldMatrix<T> m) Premultiply this matrix bym
.FieldMatrix.preMultiply
(FieldMatrix<T> m) Premultiply this matrix bym
.void
AbstractFieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Set the entries in column numbercolumn
as a column matrix.void
BlockFieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Set the entries in column numbercolumn
as a column matrix.void
FieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Set the entries in column numbercolumn
as a column matrix.void
AbstractFieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Set 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
FieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Set the entries in row numberrow
as a row matrix.FieldDecompositionSolver.solve
(FieldMatrix<T> b) Solve the linear equation A × X = B for matrices A.AbstractFieldMatrix.subtract
(FieldMatrix<T> m) Subtractm
from this matrix.BlockFieldMatrix.subtract
(FieldMatrix<T> m) Subtractm
from this matrix.FieldMatrix.subtract
(FieldMatrix<T> m) Subtractm
from this matrix.Array2DRowFieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.BlockFieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.default FieldMatrix<T>
FieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.SparseFieldMatrix.transposeMultiply
(FieldMatrix<T> m) Returns the result of postmultiplyingthis^T
bym
.ModifierConstructorDescriptionFieldLUDecomposition
(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. -
Uses of FieldMatrix in org.hipparchus.ode.nonstiff
Modifier and TypeMethodDescriptionprotected double
AdamsBashforthFieldIntegrator.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
AdamsMoultonFieldIntegrator.errorEstimation
(T[] previousState, T predictedTime, T[] predictedState, T[] predictedScaled, FieldMatrix<T> predictedNordsieck) Estimate error.