Returns the differential entropy of a Cauchy distribution.
gamma <= 0
NaN
location parameter
scale parameter
entropy
var v = entropy( 10.0, 5.0 ); // returns ~4.14
var v = entropy( 7.0, 0.1 ); // returns ~0.228
var v = entropy( 10.0, -0.5 ); // returns NaN
Returns the differential entropy of a Cauchy distribution.
Notes
gamma <= 0
, the function returnsNaN
.