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