code: public static double arithmeticMean(DoubleTuple t)
      {
          double sum = DoubleTupleFunctions.reduce(t, 0.0, (a,b) -> (a+b));
          return sum / t.getSize();
      }
docs: Returns the arithmetic mean of the given tuple
  
  @param t The input tuple
  @return The mean