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 TypeClassDescriptionclassAbstractFieldMatrix<T extends FieldElement<T>>Basic implementation ofFieldMatrixmethods regardless of the underlying storage.classArray2DRowFieldMatrix<T extends FieldElement<T>>Implementation of FieldMatrixusing a FieldElement[][] 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.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 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 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 rowFieldMatrixusing the data from the input array.AbstractFieldMatrix.getColumnMatrix(int column) Get the entries in column numbercolumnas a column matrix.BlockFieldMatrix.getColumnMatrix(int column) Get the entries in column numbercolumnas a column matrix.FieldMatrix.getColumnMatrix(int column) Get the entries in column numbercolumnas 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 numberrowas a row matrix.BlockFieldMatrix.getRowMatrix(int row) Get the entries in row numberrowas a row matrix.FieldMatrix.getRowMatrix(int row) Get the entries in row numberrowas 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 itselfptimes.FieldMatrix.power(int p) Returns the result multiplying this with itselfptimes.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) Subtractmfrom this matrix.BlockFieldMatrix.subtract(FieldMatrix<T> m) Subtractmfrom this matrix.FieldMatrix.subtract(FieldMatrix<T> m) Subtractmfrom 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 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) 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.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.FieldDecompositionSolver.solve(FieldMatrix<T> b) Solve the linear equation A × X = B for matrices A.AbstractFieldMatrix.subtract(FieldMatrix<T> m) Subtractmfrom this matrix.BlockFieldMatrix.subtract(FieldMatrix<T> m) Subtractmfrom this matrix.FieldMatrix.subtract(FieldMatrix<T> m) Subtractmfrom 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.