location parameter
scale parameter
entropy
var y = entropy( 0.0, 1.0 );
// returns ~1.577
var y = entropy( 5.0, 2.0 );
// returns ~2.27
var y = entropy( NaN, 1.0 );
// returns NaN
var y = entropy( 0.0, NaN );
// returns NaN
var y = entropy( 0.0, 0.0 );
// returns NaN
Returns the differential entropy for a Gumbel distribution with location
mu
and scalebeta
.Notes
beta <= 0
, the function returnsNaN
.