# C API

Every declaration in the public headers in `helia/include/helia/`: 23 across 2 headers, grouped by family. Each name links to its declaration and documentation, which are generated from the header.

[Machine-readable model](https://ambiqai.github.io/helia-dsp/reference/api/reference.json) · [llms.txt](https://ambiqai.github.io/helia-dsp/reference/api/llms.txt) · [llms-full.txt](https://ambiqai.github.io/helia-dsp/reference/api/llms-full.txt)

## Discrete wavelet transform

| Declaration | Kind | Summary |
| --- | --- | --- |
| [`helia_dwt_forward_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_forward_f32) | function | Forward DWT: MVE implementation on targets with floating-point MVE, unless the library is built with ARM_MATH_AUTOVECTORIZE (CMake AUTOVECTORIZE=ON), optimized scalar implementation otherwise. |
| [`helia_dwt_forward_scalar_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_forward_scalar_f32) | function | Forward DWT, optimized scalar implementation on every target. |
| [`helia_dwt_init_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_init_f32) | function | Initialize a DWT configuration. |
| [`helia_dwt_instance_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_instance_f32) | struct | Configuration of a DWT of fixed frame size and depth. |
| [`helia_dwt_inverse_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_inverse_f32) | function | Inverse DWT: MVE implementation on targets with floating-point MVE, unless the library is built with ARM_MATH_AUTOVECTORIZE (CMake AUTOVECTORIZE=ON), optimized scalar implementation otherwise. |
| [`helia_dwt_inverse_scalar_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_inverse_scalar_f32) | function | Inverse DWT, optimized scalar implementation on every target. |
| [`helia_dwt_packed_size_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_packed_size_f32) | function | Number of f32 elements in the packed coefficients of `S`. |
| [`helia_dwt_reference_forward_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_reference_forward_f32) | function | Forward DWT, reference implementation. |
| [`helia_dwt_reference_inverse_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_reference_inverse_f32) | function | Inverse DWT, reference implementation. |
| [`helia_dwt_wavelet_t`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_wavelet_t) | enum | Wavelet and boundary convention. |
| [`helia_dwt_workspace_size_f32`](https://ambiqai.github.io/helia-dsp/reference/api/heliadsp/helia_dwt/#helia_dwt_workspace_size_f32) | function | Number of f32 workspace elements every forward and inverse entry point requires for `S`. |

## Window statistics

| 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. |
