Example #1
0
 @Override
 public void reciprocal() {
   DoubleArrays.reciprocal(data, 0, data.length);
 }
Example #2
0
 @Override
 public void clamp(double min, double max) {
   DoubleArrays.clamp(data, 0, data.length, min, max);
 }
Example #3
0
 @Override
 public void add(double d) {
   DoubleArrays.add(data, d);
 }
Example #4
0
 @Override
 public void multiply(double factor) {
   DoubleArrays.multiply(data, factor);
 }
Example #5
0
 @Override
 public void log() {
   DoubleArrays.log(data);
 }
Example #6
0
 @Override
 public long nonZeroCount() {
   return DoubleArrays.nonZeroCount(data);
 }
Example #7
0
 @Override
 public void square() {
   DoubleArrays.square(data);
 }
Example #8
0
 @Override
 public void exp() {
   DoubleArrays.exp(data);
 }
Example #9
0
 @Override
 public void signum() {
   DoubleArrays.signum(data);
 }
Example #10
0
 @Override
 public void abs() {
   DoubleArrays.abs(data);
 }
Example #11
0
 @Override
 public double elementMin() {
   return DoubleArrays.elementMin(data);
 }
Example #12
0
 @Override
 public double elementSquaredSum() {
   return DoubleArrays.elementSquaredSum(data);
 }
Example #13
0
 @Override
 public boolean isZero() {
   return DoubleArrays.isZero(data, 0, data.length);
 }