public static Double minus(Double d1, Double d2) {
    return d1 - d2;
  }
VectorPTFEvaluatorHelper is a helper class for vector ptf operations.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/ptf/VectorPTFEvaluatorHelper.java