MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / increment

Method increment

JSAT/src/jsat/linear/Matrix.java:549–554  ·  view source on GitHub ↗

Alters the current matrix at index (i,j) to be equal to A i,j = A i,j + value @param i the row, starting from 0 @param j the column, starting from 0 @param value the value to add to the matrix coordinate

(int i, int j, double value)

Source from the content-addressed store, hash-verified

547 * @param value the value to add to the matrix coordinate
548 */
549 public void increment(int i, int j, double value)
550 {
551 if(Double.isNaN(value) || Double.isInfinite(value))
552 throw new ArithmeticException("Can not add a value " + value);
553 set(i, j, get(i, j)+value);
554 }
555
556 /**
557 * Returns the number of rows stored in this matrix

Callers 4

updateRowMethod · 0.95
lupMethod · 0.95
feedforwardMethod · 0.95
trainMethod · 0.95

Calls 2

setMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected