Java Number Minus minus(double[] a)

Here you can find the source of minus(double[] a)

Description

minus

License

Open Source License

Declaration

static double[] minus(double[] a) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    static double[] minus(double[] a) {
        final double[] r = new double[a.length];
        for (int i = 0; i < a.length; ++i) {
            r[i] = -a[i];//from   w ww  .  ja v a2s . c  om
        }
        return r;
    }
}

Related

  1. minus(boolean a, boolean b)
  2. minus(double a[], double b)
  3. minus(double[] p, double[] q)
  4. minus(double[][] x, double[][] y, double[][] r)
  5. minus(int flags, int set)
  6. minus(Integer a, Integer b)