Returns the entropy of a Poisson distribution.
λ
NaN
mean parameter
entropy
var v = entropy( 9.0 ); // returns ~2.508
var v = entropy( 1.0 ); // returns ~1.305
var v = entropy( -0.2 ); // returns NaN
var v = entropy( NaN ); // returns NaN
Returns the entropy of a Poisson distribution.
Notes
λ
, the function returnsNaN
.