location parameter
scale parameter
mode
var y = mode( 0.0, 1.0 );
// returns 0.0
var y = mode( 5.0, 2.0 );
// returns 5.0
var y = mode( NaN, 1.0 );
// returns NaN
var y = mode( 0.0, NaN );
// returns NaN
var y = mode( 0.0, 0.0 );
// returns NaN
Returns the mode for a logistic distribution with location
mu
and scales
.Notes
s <= 0
, the function returnsNaN
.