def ExtValueMax(mu, sigma, tag=None):
assert sigma > <NUM_LIT:0>, '<STR_LIT>'<EOL>p = U(<NUM_LIT:0>, <NUM_LIT:1>)._mcpts[:]<EOL>return UncertainFunction(mu - sigma * np.log(-np.log(p)), tag=tag)<EOL>
An Extreme Value Maximum random variate.

Parameters
----------
mu : scalar
    The location parameter
sigma : scalar
    The scale parameter (must be greater than zero)