public static void minusEquals(double[] sum, NumberVector vec) {
    for(int d = 0; d < sum.length; d++) {
      sum[d] -= vec.doubleValue(d);
    }
  }
public static void minusEquals ( double [ ] sum , NumberVector vec ) { for ( int d = 0 ; d < sum . length ; d ++ ) { sum [ d ] -= vec . doubleValue ( d ) ; } }
Similar to VMath.minusEquals, but accepts a number vector.

@param sum Aggregation array
@param vec Vector to subtract