code: public static VectorFunction asDivFunction(final double arg) {
          return new VectorFunction() {
              @Override
              public double evaluate(int i, double value) {
                  return value / arg;
              }
          };
      }
docs: Creates a div function that divides it's argument by given {@code value}.
  
  @param arg a divisor value
  
  @return a closure that does {@code _ / _}