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

Method mutablePairwiseDivide

JSAT/src/jsat/linear/DenseVector.java:428–435  ·  view source on GitHub ↗
(Vec b)

Source from the content-addressed store, hash-verified

426 }
427
428 @Override
429 public void mutablePairwiseDivide(Vec b)
430 {
431 if(this.length() != b.length())
432 throw new ArithmeticException("Vectors must have the same length");
433 for(int i = startIndex; i < endIndex; i++)
434 this.array[i] /= b.get(i);
435 }
436
437 @Override
438 public boolean equals(Object obj)

Callers 2

trainCMethod · 0.95
trainMethod · 0.95

Calls 2

lengthMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected