Java Array Subtract subtract(double[] array, double a)

Here you can find the source of subtract(double[] array, double a)

Description

subtract

License

Open Source License

Declaration

public static void subtract(double[] array, double a) 

Method Source Code

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

public class Main {
    public static void subtract(double[] array, double a) {
        for (int i = 0; i < array.length; ++i) {
            array[i] -= a;/*from www . j a  v  a 2 s. c  om*/
        }
    }
}

Related

  1. subtract(double[] a, double[] b)
  2. subtract(double[] a, double[] b)
  3. subtract(double[] a, double[] b)
  4. subtract(double[] a, double[] b)
  5. subtract(double[] accumulator, double[] values)
  6. subtract(double[] array, double value)
  7. subtract(double[] first, double[] second)
  8. subtract(double[] first, double[] second, double[] out)
  9. subtract(double[] flowFrom, double[] flowTo)