# Window statistics

12 declarations in one header: [`helia_window_stats.h`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/). The family's contract, entry points and measurements are described in [Window statistics](https://ambiqai.github.io/helia-dsp/reference/window_stats/).

| Declaration | Kind | Summary |
| --- | --- | --- |
| [`helia_window_stats_centered_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_centered_f32) | function |  |
| [`helia_window_stats_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_f32) | function | Window statistics: Helium implementation on targets with floating-point MVE, unless the library is built with ARM_MATH_AUTOVECTORIZE (CMake AUTOVECTORIZE=ON), optimized scalar implementation otherwise. |
| [`helia_window_stats_mean_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_mean_f32) | function | Mean, c + sum_dev/N; NaN when N = 0. |
| [`helia_window_stats_mean_square_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_mean_square_f32) | function |  |
| [`helia_window_stats_population_variance_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_population_variance_f32) | function | Population variance (divisor N); NaN when N = 0. |
| [`helia_window_stats_reference_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_reference_f32) | function | Window statistics, reference implementation. |
| [`helia_window_stats_result_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_result_f32) | struct | Statistics of one window, as accumulated in one traversal. |
| [`helia_window_stats_rms_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_rms_f32) | function | Root mean square of the samples; NaN when N = 0. |
| [`helia_window_stats_sample_variance_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_sample_variance_f32) | function | Sample variance (divisor N - 1); NaN when N &lt; 2. |
| [`helia_window_stats_scalar_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_scalar_f32) | function | Window statistics, optimized scalar implementation on every target. |
| [`helia_window_stats_sum_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_sum_f32) | function | Sum of the samples, N*c + sum_dev; +0.0f when N = 0. |
| [`helia_window_stats_sum_squares_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_window_stats/#helia_window_stats_sum_squares_f32) | function | Sum of the squared samples, N times the mean square; +0.0f when N = 0. |
