| Modifier and Type | Class and Description |
|---|---|
| private static class | MatrixUtils.
Converter for |
| private static class | MatrixUtils.
Converter for |
| Modifier and Type | Field and Description |
|---|---|
| public static final RealMatrixFormat | DEFAULT_FORMAT
The default format for |
| public static final RealMatrixFormat | OCTAVE_FORMAT
A format for |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Array2DRowRealMatrix | Returns: the converted matrix.Matrix to convert. m)Convert a |
| public static RealMatrix | Returns: the inverse ofm.Matrix whose inverse must be computed. m, int Index that determines the "split" line and
column.
The element corresponding to this index will part of the
upper-left sub-matrix. splitIndex)Computes the inverse of the given matrix by splitting it into 4 sub-matrices. |
| public static void | checkAdditionCompatible(final AnyMatrix
Left hand side matrix. left, final AnyMatrix Right hand side matrix. right)Check if matrices are addition compatible. |
| public static void | checkColumnIndex(final AnyMatrix
Matrix. m, final int Column index to check. column)Check if a column index is valid. |
| public static void | checkMatrixIndex(final AnyMatrix
Matrix. m, final int Row index to check. row, final int Column index to check. column)Check if matrix indices are valid. |
| public static void | checkMultiplicationCompatible(final AnyMatrix
Left hand side matrix. left, final AnyMatrix Right hand side matrix. right)Check if matrices are multiplication compatible |
| public static void | checkRowIndex(final AnyMatrix
Matrix. m, final int Row index to check. row)Check if a row index is valid. |
| public static void | checkSubMatrixIndex(final AnyMatrix
Matrix. m, final int Initial row index. startRow, final int Final row index. endRow, final int Initial column index. startColumn, final int Final column index. endColumn)Check if submatrix ranges indices are valid. |
| public static void | checkSubMatrixIndex(final AnyMatrix
Matrix. m, final int[] Array of row indices. selectedRows, final int[] Array of column indices. selectedColumns)Check if submatrix ranges indices are valid. |
| public static void | checkSubtractionCompatible(final AnyMatrix
Left hand side matrix. left, final AnyMatrix Right hand side matrix. right)Check if matrices are subtraction compatible |
| public static void | checkSymmetric(RealMatrix
Matrix to check. matrix, double Relative tolerance. eps)Checks whether a matrix is symmetric. |
| public static < the type of the field elements T extends FieldElement | Returns: a columnData x 1 FieldMatrixthe input column data columnData)Creates a column |
| public static RealMatrix | Returns: a columnData x 1 RealMatrixthe input column data columnData)Creates a column |
| public static < the type of the field elements T extends FieldElement | Returns: diagonal matrixdiagonal elements of the matrix (the array elements
will be copied) diagonal)Returns a diagonal matrix with specified elements. |
| public static < the type of the field elements T extends FieldElement | Returns: identity matrixfield to which the elements belong field, final int dimension of identity matrix to generate dimension)Returns |
| public static < the type of the field elements T extends FieldElement | Returns: FieldMatrix with specified dimensionsfield to which the matrix elements belong field, final int number of rows of the matrix rows, final int number of columns of the matrix columns)Returns a |
| public static < the type of the field elements T extends FieldElement | Returns: a matrix containing the values of the array.input array data)Returns a |
| public static < the type of the field elements T extends FieldElement | Returns: a data.length FieldVectorthe input data data)Creates a |
| public static RealMatrix | Returns: diagonal matrixdiagonal elements of the matrix (the array elements
will be copied) diagonal)Returns a diagonal matrix with specified elements. |
| public static RealMatrix | Returns: identity matrixdimension of identity matrix to generate dimension)Returns |
| public static RealMatrix | Returns: RealMatrix with specified dimensionsnumber of rows of the matrix rows, final int number of columns of the matrix columns)Returns a |
| public static RealMatrix | Returns: RealMatrix containing the values of the arrayinput array data)Returns a |
| public static RealVector | Returns: a data.length RealVectorthe input data data)Creates a |
| public static < the type of the field elements T extends FieldElement | Returns: a 1 x rowData.length FieldMatrixthe input row data rowData)Create a row |
| public static RealMatrix | Returns: a 1 x rowData.length RealMatrixthe input row data rowData)Create a row |
| public static void | deserializeRealMatrix(final Object
instance in which the field must be set up instance, final String name of the field within the class (may be private and final) fieldName, final ObjectInputStream stream from which the real matrix should be read ois)Deserialize a |
| public static void | deserializeRealVector(final Object
instance in which the field must be set up instance, final String name of the field within the class (may be private and final) fieldName, final ObjectInputStream stream from which the real vector should be read ois)Deserialize a |
| public static Array2DRowRealMatrix | Returns: the converted matrix.Matrix to convert. m)Convert a |
| public static RealMatrix | Returns: the inverse ofmatrixMatrix whose inverse shall be computed matrix)Computes the inverse of the given matrix. |
| public static RealMatrix | Returns: the inverse ofmMatrix whose inverse shall be computed matrix, double Singularity threshold threshold)Computes the inverse of the given matrix. |
| public static boolean | Returns: true if matrix is symmetric.Matrix to check. matrix, double Relative tolerance. eps)Checks whether a matrix is symmetric. |
| private static boolean | Returns: true if matrix is symmetric.Matrix to check. matrix, double Tolerance of the symmetry check. relativeTolerance, boolean If raiseException)true, an exception will be raised if
the matrix is not symmetric.Checks whether a matrix is symmetric, within a given relative tolerance. |
| public static void | serializeRealMatrix(final RealMatrix
real matrix to serialize matrix, final ObjectOutputStream stream where the real matrix should be written oos)Serialize a |
| public static void | serializeRealVector(final RealVector
real vector to serialize vector, final ObjectOutputStream stream where the real vector should be written oos)Serialize a |
| public static void | solveLowerTriangularSystem(RealMatrix
RealMatrix which is lower triangular rm, RealVector RealVector this is overwritten b)Solve a system of composed of a Lower Triangular Matrix
|
| public static void | solveUpperTriangularSystem(RealMatrix
RealMatrix which is upper triangular rm, RealVector RealVector this is overwritten b)Solver a system composed of an Upper Triangular Matrix
|