location parameter
scale parameter
mode
var y = mode( 0.0, 1.0 );
// returns ~0.333
var y = mode( 5.0, 2.0 );
// returns ~5.667
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 Lévy distribution with location
mu
and scalec
.Notes
c <= 0
, the function returnsNaN
.