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

Method pairwiseMultiply

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

Returns a new vector that is the result of multiplying each value in this by its corresponding value in b @param b the vector to pairwise multiply by @return the result of the pairwise multiplication of b onto the values of this

(Vec b)

Source from the content-addressed store, hash-verified

179 * values of {@code this}
180 */
181 public Vec pairwiseMultiply(Vec b)
182 {
183 Vec toRet = this.getThisSide(b);
184 toRet.mutablePairwiseMultiply(b);
185 return toRet;
186 }
187
188 /**
189 * Returns a new vector that is the result of {@code this * c}

Callers 1

Calls 2

getThisSideMethod · 0.95

Tested by 1