shape parameter
scale parameter
location parameter
entropy
var y = entropy( 1.0, 1.0, 0.0 );
// returns ~2.154
var y = entropy( 5.0, 2.0, 0.0 );
// returns ~0.776
var y = entropy( NaN, 1.0, 0.0 );
// returns NaN
var y = entropy( 1.0, NaN, 0.0 );
// returns NaN
var y = entropy( 1.0, 1.0, NaN );
// returns NaN
Returns the differential entropy for a Fréchet distribution with shape
alpha
, scales
, and locationm
.Notes
alpha <= 0
ors <= 0
, the function returnsNaN
.