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

Method pairwiseDivide

JSAT/src/jsat/linear/Vec.java:263–268  ·  view source on GitHub ↗

Returns a new vector that is the result of dividing each value in this by the value in the same index in b @param b the vector to pairwise divide by @return the result of pairwise division of this by b

(Vec b)

Source from the content-addressed store, hash-verified

261 * @return the result of pairwise division of {@code this} by {@code b}
262 */
263 public Vec pairwiseDivide(Vec b)
264 {
265 Vec toRet = this.getThisSide(b);
266 toRet.mutablePairwiseDivide(b);
267 return toRet;
268 }
269
270 /**
271 * Returns a new vector that is the result of {@code this / c}

Callers 1

trainCMethod · 0.95

Calls 2

getThisSideMethod · 0.95
mutablePairwiseDivideMethod · 0.95

Tested by

no test coverage detected