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

Method multiply

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

Returns a new vector that is the result of this c @param c the constant to multiply by @return the result of this c

(double c)

Source from the content-addressed store, hash-verified

191 * @return the result of {@code this * c}
192 */
193 public Vec multiply(double c)
194 {
195 Vec toRet = this.getThisSide(null);
196 toRet.mutableMultiply(c);
197 return toRet;
198 }
199
200 /**
201 * Returns a new vector that is the result of the vector matrix product

Callers 15

testTransform2_2Method · 0.95
updateMethod · 0.95
clusterMethod · 0.95
transformMethod · 0.95
inverseMethod · 0.95
transformMethod · 0.95
optimizeMethod · 0.95
testMultiply_VecMethod · 0.45
testMultiply_MatrixMethod · 0.45

Calls 10

getThisSideMethod · 0.95
mutableMultiplyMethod · 0.95
lengthMethod · 0.95
isSparseMethod · 0.95
getMethod · 0.95
colsMethod · 0.45
rowsMethod · 0.45
incrementMethod · 0.45
getIndexMethod · 0.45
getValueMethod · 0.45