public static double max(DoubleTuple t)
    {
        return DoubleTupleFunctions.reduce(
            t, Double.NEGATIVE_INFINITY, Math::max);
    }
public static double max ( DoubleTuple t ) { return DoubleTupleFunctions . reduce ( t , Double . NEGATIVE_INFINITY , Math :: max ) ; }
Computes the maximum value that occurs in the given tuple,
or <code>Double.NEGATIVE_INFINITY</code> if the given tuple has a
size of 0.

@param t The input tuple
@return The maximum value