Uses of Interface
org.apache.commons.math4.linear.FieldMatrix
| Package | Description |
|---|---|
| org.apache.commons.math4.linear |
Linear algebra support.
|
-
Uses of FieldMatrix in org.apache.commons.math4.linear
Classes in org.apache.commons.math4.linear that implement FieldMatrix Modifier and Type Class Description classAbstractFieldMatrix<T extends FieldElement<T>>Basic implementation ofFieldMatrixmethods regardless of the underlying storage.classArray2DRowFieldMatrix<T extends FieldElement<T>>Implementation ofFieldMatrix<T>using aFieldElement[][] array to store entries.classBlockFieldMatrix<T extends FieldElement<T>>Cache-friendly implementation of FieldMatrix using a flat arrays to store square blocks of the matrix.classSparseFieldMatrix<T extends FieldElement<T>>Sparse matrix implementation based on an open addressed map.Methods in org.apache.commons.math4.linear that return FieldMatrix Modifier and Type Method Description 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.abstract FieldMatrix<T>AbstractFieldMatrix. copy()Make a (deep) copy of this.FieldMatrix<T>Array2DRowFieldMatrix. copy()Make a (deep) copy of this.FieldMatrix<T>BlockFieldMatrix. copy()Make a (deep) copy of this.FieldMatrix<T>FieldMatrix. copy()Make a (deep) copy of this.FieldMatrix<T>SparseFieldMatrix. copy()Make a (deep) copy of this.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils. createColumnFieldMatrix(T[] columnData)Creates a columnFieldMatrixusing 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 dimensionidentity matrix.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils. createFieldMatrix(Field<T> field, int rows, int columns)Returns aFieldMatrixwith specified dimensions.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils. createFieldMatrix(T[][] data)Returns aFieldMatrixwhose entries are the values in the the input array.abstract FieldMatrix<T>AbstractFieldMatrix. createMatrix(int rowDimension, int columnDimension)Create a newFieldMatrix<T>of the same type as the instance with the supplied row and column dimensions.FieldMatrix<T>Array2DRowFieldMatrix. createMatrix(int rowDimension, int columnDimension)Create a newFieldMatrix<T>of the same type as the instance with the supplied row and column dimensions.FieldMatrix<T>BlockFieldMatrix. createMatrix(int rowDimension, int columnDimension)Create a newFieldMatrix<T>of the same type as the instance with the supplied row and column dimensions.FieldMatrix<T>FieldMatrix. createMatrix(int rowDimension, int columnDimension)Create a newFieldMatrix<T>of the same type as the instance with the supplied row and column dimensions.FieldMatrix<T>SparseFieldMatrix. createMatrix(int rowDimension, int columnDimension)Create a newFieldMatrix<T>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 rowFieldMatrixusing the data from the input array.FieldMatrix<T>AbstractFieldMatrix. getColumnMatrix(int column)Get the entries in column numbercolumnas a column matrix.FieldMatrix<T>BlockFieldMatrix. getColumnMatrix(int column)Get the entries in column numbercolumnas a column matrix.FieldMatrix<T>FieldMatrix. getColumnMatrix(int column)Get the entries in column numbercolumnas a column matrix.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>AbstractFieldMatrix. getRowMatrix(int row)Get the entries in row numberrowas a row matrix.FieldMatrix<T>BlockFieldMatrix. getRowMatrix(int row)Get the entries in row numberrowas a row matrix.FieldMatrix<T>FieldMatrix. getRowMatrix(int row)Get the entries in row numberrowas a row matrix.FieldMatrix<T>AbstractFieldMatrix. getSubMatrix(int[] selectedRows, int[] selectedColumns)Get a submatrix.FieldMatrix<T>AbstractFieldMatrix. getSubMatrix(int startRow, int endRow, int startColumn, int endColumn)Get a submatrix.FieldMatrix<T>BlockFieldMatrix. getSubMatrix(int startRow, int endRow, int startColumn, int endColumn)Get a submatrix.FieldMatrix<T>FieldMatrix. getSubMatrix(int[] selectedRows, int[] selectedColumns)Get a submatrix.FieldMatrix<T>FieldMatrix. getSubMatrix(int startRow, int endRow, int startColumn, int endColumn)Get a submatrix.FieldMatrix<T>FieldLUDecomposition. getU()Returns the matrix U of the decomposition.FieldMatrix<T>AbstractFieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.FieldMatrix<T>BlockFieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.FieldMatrix<T>FieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.FieldMatrix<T>ArrayFieldVector. outerProduct(ArrayFieldVector<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(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>AbstractFieldMatrix. power(int p)Returns the result multiplying this with itselfptimes.FieldMatrix<T>FieldMatrix. power(int p)Returns the result multiplying this with itselfptimes.FieldMatrix<T>AbstractFieldMatrix. preMultiply(FieldMatrix<T> m)Premultiply this matrix bym.FieldMatrix<T>FieldMatrix. preMultiply(FieldMatrix<T> m)Premultiply this matrix bym.FieldMatrix<T>AbstractFieldMatrix. scalarAdd(T d)Increment each entry of this matrix.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. scalarMultiply(T d)Multiply each entry byd.FieldMatrix<T>BlockFieldMatrix. scalarMultiply(T d)Multiply each entry byd.FieldMatrix<T>FieldMatrix. scalarMultiply(T d)Multiply each entry byd.FieldMatrix<T>FieldDecompositionSolver. solve(FieldMatrix<T> b)Solve the linear equation A × X = B for matrices A.FieldMatrix<T>AbstractFieldMatrix. subtract(FieldMatrix<T> m)Subtractmfrom this matrix.FieldMatrix<T>BlockFieldMatrix. subtract(FieldMatrix<T> m)Subtractmfrom this matrix.FieldMatrix<T>FieldMatrix. subtract(FieldMatrix<T> m)Subtractmfrom this matrix.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.math4.linear with parameters of type FieldMatrix Modifier and Type Method Description 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.static Array2DRowRealMatrixMatrixUtils. bigFractionMatrixToRealMatrix(FieldMatrix<BigFraction> m)protected voidAbstractFieldMatrix. checkAdditionCompatible(FieldMatrix<T> m)Check if a matrix is addition compatible with the instance.protected voidAbstractFieldMatrix. checkMultiplicationCompatible(FieldMatrix<T> m)Check if a matrix is multiplication compatible with the instance.protected voidAbstractFieldMatrix. checkSubtractionCompatible(FieldMatrix<T> m)Check if a matrix is subtraction compatible with the instance.static Array2DRowRealMatrixMatrixUtils. fractionMatrixToRealMatrix(FieldMatrix<Fraction> m)FieldMatrix<T>AbstractFieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.FieldMatrix<T>BlockFieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.FieldMatrix<T>FieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.FieldMatrix<T>AbstractFieldMatrix. preMultiply(FieldMatrix<T> m)Premultiply this matrix bym.FieldMatrix<T>FieldMatrix. preMultiply(FieldMatrix<T> m)Premultiply this matrix bym.voidAbstractFieldMatrix. setColumnMatrix(int column, FieldMatrix<T> matrix)Set the entries in column numbercolumnas a column matrix.voidBlockFieldMatrix. setColumnMatrix(int column, FieldMatrix<T> matrix)Set the entries in column numbercolumnas a column matrix.voidFieldMatrix. setColumnMatrix(int column, FieldMatrix<T> matrix)Set the entries in column numbercolumnas a column matrix.voidAbstractFieldMatrix. setRowMatrix(int row, FieldMatrix<T> matrix)Set the entries in row numberrowas a row matrix.voidBlockFieldMatrix. setRowMatrix(int row, FieldMatrix<T> matrix)Set the entries in row numberrowas a row matrix.voidFieldMatrix. setRowMatrix(int row, FieldMatrix<T> matrix)Set the entries in row numberrowas 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)Subtractmfrom this matrix.FieldMatrix<T>BlockFieldMatrix. subtract(FieldMatrix<T> m)Subtractmfrom this matrix.FieldMatrix<T>FieldMatrix. subtract(FieldMatrix<T> m)Subtractmfrom this matrix.Constructors in org.apache.commons.math4.linear with parameters of type FieldMatrix Constructor Description FieldLUDecomposition(FieldMatrix<T> matrix)Calculates the LU-decomposition of the given matrix.SparseFieldMatrix(FieldMatrix<T> other)Generic copy constructor.