Example usage for Java org.apache.commons.math3.linear DiagonalMatrix fields, constructors, methods, implement or subclass
The text is from its open source code.
DiagonalMatrix(final int dimension) Creates a matrix with the supplied dimension. | |
DiagonalMatrix(final double[] d) Creates a matrix using the input array as the underlying data. |
double | getEntry(final int row, final int column) |
DiagonalMatrix | multiply(final DiagonalMatrix m) Returns the result of postmultiplying this by m . |
RealMatrix | multiply(final RealMatrix m) Returns the result of postmultiplying this by m . |
void | setEntry(final int row, final int column, final double value) |