29 lines
475 B
Plaintext
29 lines
475 B
Plaintext
|
|
{{alias}}( λ )
|
|
Returns the median of an exponential distribution.
|
|
|
|
If provided `NaN` as any argument, the function returns `NaN`.
|
|
|
|
If provided a negative value for `λ`, the function returns `NaN`.
|
|
|
|
Parameters
|
|
----------
|
|
λ: number
|
|
Rate parameter.
|
|
|
|
Returns
|
|
-------
|
|
out: number
|
|
Median.
|
|
|
|
Examples
|
|
--------
|
|
> var v = {{alias}}( 11.0 )
|
|
~0.063
|
|
> v = {{alias}}( 4.5 )
|
|
~0.154
|
|
|
|
See Also
|
|
--------
|
|
|