Returns the entropy of an exponential distribution.
λ
NaN
rate parameter
entropy
var v = entropy( 9.0 ); // returns ~-1.197
var v = entropy( 1.0 ); // returns 1.0
var v = entropy( -0.2 ); // returns NaN
var v = entropy( NaN ); // returns NaN
Returns the entropy of an exponential distribution.
Notes
λ
, the function returnsNaN
.