@stdlib/stats
Version:
Standard library statistical functions.
29 lines (20 loc) • 475 B
Plain Text
{{alias}}( k )
Returns the differential entropy of a chi distribution (in nats).
If provided `NaN` as any argument, the function returns `NaN`.
If provided `k < 0`, the function returns `NaN`.
Parameters
----------
k: number
Degrees of freedom.
Returns
-------
out: number
Entropy.
Examples
--------
> var v = {{alias}}( 11.0 )
~1.056
> v = {{alias}}( 1.5 )
~0.878
See Also
--------