|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FieldMatrix | |
---|---|
org.apache.commons.math.linear | Linear algebra support. |
Uses of FieldMatrix in org.apache.commons.math.linear |
---|
Classes in org.apache.commons.math.linear that implement FieldMatrix | |
---|---|
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. |
Methods in org.apache.commons.math.linear that return FieldMatrix | ||
---|---|---|
FieldMatrix<T> |
AbstractFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m. |
|
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> |
Array2DRowFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m. |
|
FieldMatrix<T> |
SparseFieldMatrix.copy()
Returns a (deep) copy of this. |
|
abstract FieldMatrix<T> |
AbstractFieldMatrix.copy()
Returns a (deep) copy of this. |
|
FieldMatrix<T> |
BlockFieldMatrix.copy()
Returns a (deep) copy of this. |
|
FieldMatrix<T> |
FieldMatrix.copy()
Returns a (deep) copy of this. |
|
FieldMatrix<T> |
Array2DRowFieldMatrix.copy()
Returns a (deep) copy of this. |
|
static
|
MatrixUtils.createColumnFieldMatrix(T[] columnData)
Creates a column FieldMatrix using the data from the input
array. |
|
static
|
MatrixUtils.createFieldDiagonalMatrix(T[] diagonal)
Returns a diagonal matrix with specified elements. |
|
static
|
MatrixUtils.createFieldIdentityMatrix(Field<T> field,
int dimension)
Returns dimension x dimension identity matrix. |
|
static
|
MatrixUtils.createFieldMatrix(Field<T> field,
int rows,
int columns)
Returns a FieldMatrix with specified dimensions. |
|
static
|
MatrixUtils.createFieldMatrix(T[][] data)
Returns a FieldMatrix whose entries are the the values in the
the input array. |
|
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 |
|
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 |
|
static
|
MatrixUtils.createRowFieldMatrix(T[] rowData)
Creates a row FieldMatrix using the data from the input
array. |
|
FieldMatrix<T> |
AbstractFieldMatrix.getColumnMatrix(int column)
Returns the entries in column number column
as a column matrix. |
|
FieldMatrix<T> |
BlockFieldMatrix.getColumnMatrix(int column)
Returns the entries in column number column
as a column matrix. |
|
FieldMatrix<T> |
FieldMatrix.getColumnMatrix(int column)
Returns the entries in column number column
as a column matrix. |
|
FieldMatrix<T> |
FieldDecompositionSolver.getInverse()
Get the inverse (or pseudo-inverse) of the decomposed matrix. |
|
FieldMatrix<T> |
FieldLUDecompositionImpl.getL()
Returns the matrix L of the decomposition. |
|
FieldMatrix<T> |
FieldLUDecomposition.getL()
Returns the matrix L of the decomposition. |
|
FieldMatrix<T> |
FieldLUDecompositionImpl.getP()
Returns the P rows permutation matrix. |
|
FieldMatrix<T> |
FieldLUDecomposition.getP()
Returns the P rows permutation matrix. |
|
FieldMatrix<T> |
AbstractFieldMatrix.getRowMatrix(int row)
Returns the entries in row number row
as a row matrix. |
|
FieldMatrix<T> |
BlockFieldMatrix.getRowMatrix(int row)
Returns the entries in row number row
as a row matrix. |
|
FieldMatrix<T> |
FieldMatrix.getRowMatrix(int row)
Returns the entries in row number row
as a row matrix. |
|
FieldMatrix<T> |
AbstractFieldMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Gets a submatrix. |
|
FieldMatrix<T> |
FieldMatrix.getSubMatrix(int[] selectedRows,
int[] selectedColumns)
Gets a submatrix. |
|
FieldMatrix<T> |
AbstractFieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Gets a submatrix. |
|
FieldMatrix<T> |
BlockFieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Gets a submatrix. |
|
FieldMatrix<T> |
FieldMatrix.getSubMatrix(int startRow,
int endRow,
int startColumn,
int endColumn)
Gets a submatrix. |
|
FieldMatrix<T> |
FieldLUDecompositionImpl.getU()
Returns the matrix U of the decomposition. |
|
FieldMatrix<T> |
FieldLUDecomposition.getU()
Returns the matrix U of the decomposition. |
|
FieldMatrix<T> |
AbstractFieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
|
FieldMatrix<T> |
BlockFieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
|
FieldMatrix<T> |
FieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
|
FieldMatrix<T> |
Array2DRowFieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
|
FieldMatrix<T> |
ArrayFieldVector.outerProduct(ArrayFieldVector<T> v)
Compute the outer product. |
|
FieldMatrix<T> |
SparseFieldVector.outerProduct(FieldVector<T> v)
Compute the outer product. |
|
FieldMatrix<T> |
ArrayFieldVector.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> |
SparseFieldVector.outerProduct(T[] v)
Compute the outer product. |
|
FieldMatrix<T> |
ArrayFieldVector.outerProduct(T[] v)
Compute the outer product. |
|
FieldMatrix<T> |
FieldVector.outerProduct(T[] v)
Compute the outer product. |
|
FieldMatrix<T> |
AbstractFieldMatrix.preMultiply(FieldMatrix<T> m)
Returns the result premultiplying this by m . |
|
FieldMatrix<T> |
FieldMatrix.preMultiply(FieldMatrix<T> m)
Returns the result premultiplying this by m . |
|
FieldMatrix<T> |
AbstractFieldMatrix.scalarAdd(T d)
Returns the result of adding d to each entry of this. |
|
FieldMatrix<T> |
BlockFieldMatrix.scalarAdd(T d)
Returns the result of adding d to each entry of this. |
|
FieldMatrix<T> |
FieldMatrix.scalarAdd(T d)
Returns the result of adding d to each entry of this. |
|
FieldMatrix<T> |
AbstractFieldMatrix.scalarMultiply(T d)
Returns the result multiplying each entry of this by d. |
|
FieldMatrix<T> |
BlockFieldMatrix.scalarMultiply(T d)
Returns the result multiplying each entry of this by d. |
|
FieldMatrix<T> |
FieldMatrix.scalarMultiply(T d)
Returns the result multiplying each entry of this by d. |
|
FieldMatrix<T> |
FieldDecompositionSolver.solve(FieldMatrix<T> b)
Solve the linear equation A × X = B for matrices A. |
|
FieldMatrix<T> |
AbstractFieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
|
FieldMatrix<T> |
BlockFieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
|
FieldMatrix<T> |
FieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
|
FieldMatrix<T> |
Array2DRowFieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
|
FieldMatrix<T> |
AbstractFieldMatrix.transpose()
Returns the transpose of this matrix. |
|
FieldMatrix<T> |
BlockFieldMatrix.transpose()
Returns the transpose of this matrix. |
|
FieldMatrix<T> |
FieldMatrix.transpose()
Returns the transpose of this matrix. |
Methods in org.apache.commons.math.linear with parameters of type FieldMatrix | |
---|---|
FieldMatrix<T> |
AbstractFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m. |
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> |
Array2DRowFieldMatrix.add(FieldMatrix<T> m)
Compute the sum of this and m. |
static Array2DRowRealMatrix |
MatrixUtils.bigFractionMatrixToRealMatrix(FieldMatrix<BigFraction> m)
Convert a FieldMatrix /BigFraction matrix to a RealMatrix . |
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)
Convert a FieldMatrix /Fraction matrix to a RealMatrix . |
FieldMatrix<T> |
AbstractFieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
FieldMatrix<T> |
BlockFieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
FieldMatrix<T> |
FieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
FieldMatrix<T> |
Array2DRowFieldMatrix.multiply(FieldMatrix<T> m)
Returns the result of postmultiplying this by m. |
FieldMatrix<T> |
AbstractFieldMatrix.preMultiply(FieldMatrix<T> m)
Returns the result premultiplying this by m . |
FieldMatrix<T> |
FieldMatrix.preMultiply(FieldMatrix<T> m)
Returns the result premultiplying this by m . |
void |
AbstractFieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Sets the entries in column number column
as a column matrix. |
void |
BlockFieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Sets the entries in column number column
as a column matrix. |
void |
FieldMatrix.setColumnMatrix(int column,
FieldMatrix<T> matrix)
Sets the entries in column number column
as a column matrix. |
void |
AbstractFieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Sets the entries in row number row
as a row matrix. |
void |
BlockFieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Sets the entries in row number row
as a row matrix. |
void |
FieldMatrix.setRowMatrix(int row,
FieldMatrix<T> matrix)
Sets 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> |
AbstractFieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
FieldMatrix<T> |
BlockFieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
FieldMatrix<T> |
FieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
FieldMatrix<T> |
Array2DRowFieldMatrix.subtract(FieldMatrix<T> m)
Compute this minus m. |
Constructors in org.apache.commons.math.linear with parameters of type FieldMatrix | |
---|---|
FieldLUDecompositionImpl(FieldMatrix<T> matrix)
Calculates the LU-decomposition of the given matrix. |
|
SparseFieldMatrix(FieldMatrix<T> other)
Generic copy constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |