Here you can find the source of subtract(double[] array, double a)
public static void subtract(double[] array, double a)
//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*/ } } }