Shape parameter
Optional
a: numberLocation parameter
Optional
b: numberScale parameter
Returns a function for generating random numbers with one of the generalized extreme value distributions, depending on k: If k is positive, the Weibull distribution with shape parameter k If k is zero, the Gumbel distribution If k is negative, the Fréchet distribution with shape parameter −k In all three cases, a is the location parameter and b is the scale parameter. If a is not specified, it defaults to 0; if b is not specified, it defaults to 1.
Returns a function for generating random numbers with one of the generalized extreme value distributions, depending on k: If k is positive, the Weibull distribution with shape parameter k If k is zero, the Gumbel distribution If k is negative, the Fréchet distribution with shape parameter −k In all three cases, a is the location parameter and b is the scale parameter. If a is not specified, it defaults to 0; if b is not specified, it defaults to 1.