code: public static <T> UScale function(String title, Function<T, ?> function, IntFunction<T> scaler, final boolean reusedata) {
          return consumer(title, function::apply, scaler, reusedata);
      }
docs: Test the scalability of a consumer that requires T input data.
  
  @param <T>
  the type of the input data needed by the Function
  @param title
  the title to apply to all reports and results
  @param function
  the computer that processes the T data
  @param scaler
  a supplier that can supply T data of different sizes
  @param reusedata
  if true, data of each size will be created just once, and
  reused often.
  @return A UScale instance containing the results of the testing