Verwendungen von Klasse
ch.nolix.core.math.algebra.Matrix
Packages, die Matrix verwenden
-
Verwendungen von Matrix in ch.nolix.core.math.algebra
Methoden in ch.nolix.core.math.algebra, die Matrix zurückgebenModifizierer und TypMethodeBeschreibungAdds the given matrix to the currentMatrix.Matrix.appendAtBottom(double rowValue, double... rowValues) Appends a new row with the given row values on the bottom of the currentMatrix.Matrix.appendAtRight(Matrix matrix) Appends the given matrix at the right of the currentMatrix.static MatrixMatrix.createIdendityMatrixWithLength(int length) static MatrixMatrix.createQuadraticMatrixWithOnesAndLength(int length) The values of the createdMatrixwill be all 1.0static MatrixMatrix.createRandomQuadraticMatrixWithLength(int length) The values of the createdMatrixwill be all a whole random number in [0, 99].static MatrixMatrix.createRandomQuadraticMatrixWithRowCountAndColumnCount(int rowCount, int columnCount) The values of the createdMatrixwill be all a whole random number in [0, 99].Matrix.getClone()Matrix.getInverse()Matrix.getMatrixWithFirstColumns(int columnCount) Matrix.getMatrixWithLastColumns(int columnCount) Matrix.getMinimalFactorMatrix(Matrix solutionMatrix) This method implements the least squares algorithm.Matrix.getProduct(Matrix matrix) Matrix.getPseudoInverse()Matrix.getTransposed()Matrix.multiply(double factor) Multiplies the currentMatrixwith the given factor.Matrix.multiplyRow(int rowIndex, double factor) Multiplies the row with the given row index with the given factor.Matrix.removeZeroRows()Removes the zero rows of the currentMatrixusing an epsilonMatrix.setAllValuesTo(double value) Sets the values of the currentMatrixto the given value.Matrix.setDiagonalValuesTo(double value) Sets the diagonal values of the currentMatrixto the given value.Matrix.setValue(int rowIndex, int columnIndex, double value) Sets the value in the row with the given row index and the column with the given column index.Matrix.setValues(double[] values) Sets the values of the currentMatrix.Matrix.setValues(double value, double... values) Sets the values of the currentMatrix.Matrix.swapRows(int row1Index, int row2Index) Swaps the rows with the given indexes.Matrix.tranformFirstPartToIdentityMatrix()Transforms the first part of the currentMatrixto an identity matrix.Matrix.transformToEquivalentUpperLeftMatrix()Transforms the currentMatrixto an equivalent upper left matrix.Matrix.transpose()Transposes the currentMatrix.static MatrixMatrix.withOnesAndRowCountAndColumnCount(int rowCount, int columnCount) The values of the createdMatrixwill be all 1.0static MatrixMatrix.withRowCountAndColumnCount(int rowCount, int columnCount) Methoden in ch.nolix.core.math.algebra mit Parametern vom Typ MatrixModifizierer und TypMethodeBeschreibungAdds the given matrix to the currentMatrix.Matrix.appendAtRight(Matrix matrix) Appends the given matrix at the right of the currentMatrix.Matrix.getMinimalFactorMatrix(Matrix solutionMatrix) This method implements the least squares algorithm.Matrix.getProduct(Matrix matrix) booleanMatrix.hasSameSize(Matrix matrix)