location parameter
scale parameter
entropy
var y = entropy( 0.0, 1.0 );
// returns ~1.419
var y = entropy( 5.0, 2.0 );
// returns ~7.112
var y = entropy( NaN, 1.0 );
// returns NaN
var y = entropy( 0.0, NaN );
// returns NaN
var y = entropy( 0.0, 0.0 );
// returns NaN
Returns the differential entropy for a lognormal distribution with location
mu
and scalesigma
.Notes
sigma <= 0
, the function returnsNaN
.