Returns the differential entropy of a chi distribution (in nats).
k < 0
NaN
degrees of freedom
entropy
var v = entropy( 9.0 ); // returns ~1.052
var v = entropy( 1.0 ); // returns ~0.726
var v = entropy( -0.2 ); // returns NaN
var v = entropy( NaN ); // returns NaN
Returns the differential entropy of a chi distribution (in nats).
Notes
k < 0
, the function returnsNaN
.