Skip to main content

Module moments

Module moments 

Source
Expand description

Statistical moments of a signal: mean, variance, skewness, kurtosis.

Population (biased, /n) moments over a mono block. Skewness and kurtosis are the standardised 3rd and 4th moments; kurtosis is Pearson (a normal distribution → 3.0, subtract 3 for excess kurtosis). Zero-heap (two scalar passes, no allocation).

Structs§

Moments
The four leading moments of a block.

Functions§

moments
Compute the mean, variance, skewness and Pearson kurtosis of samples.