code: public static void minusEquals(double[] sum, NumberVector vec) {
      for(int d = 0; d < sum.length; d++) {
        sum[d] -= vec.doubleValue(d);
      }
    }
docs: Similar to VMath.minusEquals, but accepts a number vector.
  
  @param sum Aggregation array
  @param vec Vector to subtract