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

Method add

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

Creates a new Matrix that stores the result of A+B @param B the matrix to add this this @return A+B

(Matrix B)

Source from the content-addressed store, hash-verified

37 * @return {@code A+B}
38 */
39 public Matrix add(Matrix B)
40 {
41 Matrix toReturn = getThisSideMatrix(B);
42 toReturn.mutableAdd(1.0, B);
43 return toReturn;
44 }
45
46 /**
47 * Creates a new Matrix that stores the result of {@code A+B}

Callers

nothing calls this directly

Calls 2

getThisSideMatrixMethod · 0.95
mutableAddMethod · 0.95

Tested by

no test coverage detected