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

Method subtract

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

Creates a new Matrix that stores the result of A-B @param B the matrix to subtract from this . @return a new matrix equal to A-B

(Matrix B)

Source from the content-addressed store, hash-verified

165 * @return a new matrix equal to <i>A-B</i>
166 */
167 public Matrix subtract(Matrix B)
168 {
169 Matrix toReturn = getThisSideMatrix(B);
170 toReturn.mutableSubtract(1.0, B);
171 return toReturn;
172 }
173
174 /**
175 * Creates a new Matrix that stores the result of <i>A-B</i>

Callers

nothing calls this directly

Calls 2

getThisSideMatrixMethod · 0.95
mutableSubtractMethod · 0.95

Tested by

no test coverage detected