shape parameter
rate parameter
entropy
var v = entropy( 1.0, 1.0 );
// returns ~2.154
var v = entropy( 4.0, 12.0 );
// returns ~1.996
var v = entropy( 8.0, 2.0 );
// returns ~-0.922
var v = entropy( 1.0, -0.1 );
// returns NaN
var v = entropy( -0.1, 1.0 );
// returns NaN
var v = entropy( 2.0, NaN );
// returns NaN
var v = entropy( NaN, 2.0 );
// returns NaN
Returns the differential entropy of an inverse gamma distribution.
Notes
alpha <= 0
orbeta <= 0
, the function returnsNaN
.