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 Matrix
Matrix.createIdendityMatrix
(int size) static Matrix
Matrix.createMatrixOfOnes
(int size) The values of the createdMatrix
will be all 1.0static Matrix
Matrix.createMatrixOfOnes
(int rowCount, int columnCount) The values of the createdMatrix
will be all 1.0static Matrix
Matrix.createRandomMatrix
(int size) The values of the createdMatrix
will be all a whole random number in [0, 99].static Matrix
Matrix.createRandomMatrix
(int rowCount, int columnCount) The values of the createdMatrix
will 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 currentMatrix
with 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 currentMatrix
using an epsilonMatrix.setAllValuesTo
(double value) Sets the values of the currentMatrix
to the given value.Matrix.setDiagonalValuesTo
(double value) Sets the diagonal values of the currentMatrix
to 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 currentMatrix
to an identity matrix.Matrix.transformToEquivalentUpperLeftMatrix()
Transforms the currentMatrix
to an equivalent upper left matrix.Matrix.transpose()
Transposes the currentMatrix
.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
.boolean
Matrix.equalsApproximatively
(Matrix matrix, double epsilon) Matrix.getMinimalFactorMatrix
(Matrix solutionMatrix) This method implements the least squares algorithm.Matrix.getProduct
(Matrix matrix) boolean
Matrix.hasSameSize
(Matrix matrix)