Uses of Interface
org.apache.commons.math3.linear.FieldMatrix
Packages that use FieldMatrix
-
Uses of FieldMatrix in org.apache.commons.math3.linear
Classes in org.apache.commons.math3.linear that implement FieldMatrixModifier and TypeClassDescriptionclass
AbstractFieldMatrix<T extends FieldElement<T>>
Basic implementation ofFieldMatrix
methods regardless of the underlying storage.class
Array2DRowFieldMatrix<T extends FieldElement<T>>
Implementation of FieldMatrixusing a 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.Methods in org.apache.commons.math3.linear that return FieldMatrixModifier 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.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 new FieldMatrixof the same type as the instance with the supplied row and column dimensions. Array2DRowFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a new FieldMatrixof the same type as the instance with the supplied row and column dimensions. BlockFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a new FieldMatrixof the same type as the instance with the supplied row and column dimensions. FieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a new FieldMatrixof the same type as the instance with the supplied row and column dimensions. SparseFieldMatrix.createMatrix
(int rowDimension, int columnDimension) Create a new FieldMatrixof 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.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.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.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.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
.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.Methods in org.apache.commons.math3.linear with parameters of type FieldMatrixModifier 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) 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.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
.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.Constructors in org.apache.commons.math3.linear with parameters of type FieldMatrixModifierConstructorDescriptionFieldLUDecomposition
(FieldMatrix<T> matrix) Calculates the LU-decomposition of the given matrix.SparseFieldMatrix
(FieldMatrix<T> other) Generic copy constructor.