Returns the differential entropy of a Rayleigh distribution.
σ < 0
NaN
scale parameter
entropy
var v = entropy( 9.0 ); // returns ~3.139
var v = entropy( 2.0 ); // returns ~1.635
var v = entropy( -0.2 ); // returns NaN
var v = entropy( NaN ); // returns NaN
Returns the differential entropy of a Rayleigh distribution.
Notes
σ < 0
, the function returnsNaN
.