@Override
 public void reciprocal() {
   DoubleArrays.reciprocal(data, 0, data.length);
 }
 @Override
 public void clamp(double min, double max) {
   DoubleArrays.clamp(data, 0, data.length, min, max);
 }
 @Override
 public void add(double d) {
   DoubleArrays.add(data, d);
 }
 @Override
 public void multiply(double factor) {
   DoubleArrays.multiply(data, factor);
 }
 @Override
 public void log() {
   DoubleArrays.log(data);
 }
 @Override
 public long nonZeroCount() {
   return DoubleArrays.nonZeroCount(data);
 }
 @Override
 public void square() {
   DoubleArrays.square(data);
 }
 @Override
 public void exp() {
   DoubleArrays.exp(data);
 }
 @Override
 public void signum() {
   DoubleArrays.signum(data);
 }
Beispiel #10
0
 @Override
 public void abs() {
   DoubleArrays.abs(data);
 }
Beispiel #11
0
 @Override
 public double elementMin() {
   return DoubleArrays.elementMin(data);
 }
Beispiel #12
0
 @Override
 public double elementSquaredSum() {
   return DoubleArrays.elementSquaredSum(data);
 }
Beispiel #13
0
 @Override
 public boolean isZero() {
   return DoubleArrays.isZero(data, 0, data.length);
 }