1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Hermitian Fast Fourier Transform (HFFT) module
//!
//! This module provides functions for computing the Hermitian Fast Fourier Transform (HFFT)
//! and its inverse (IHFFT). These functions handle complex-valued signals with real spectra.
//!
//! ## Implementation Notes
//!
//! The HFFT functions are particularly sensitive to numerical precision issues due to their
//! reliance on Hermitian symmetry properties. When using these functions:
//!
//! 1. **Normalization**: Pay close attention to the normalization parameter, as it significantly
//! affects scaling in round-trip transformations.
//!
//! 2. **Precision**: Hermitian symmetry requires that the imaginary part of certain components
//! be exactly zero, which may not be possible due to floating-point precision. The functions
//! apply reasonable tolerances to handle these cases.
//!
//! 3. **Round-Trip Transformations**: When performing hfft followed by ihfft (or vice versa),
//! you may need to apply scaling factors to recover the original signal amplitudes accurately.
//!
//! 4. **Multi-dimensional Transforms**: 2D and N-dimensional transforms have additional complexity
//! regarding Hermitian symmetry across multiple dimensions. Care should be taken when working
//! with these functions.
// Module declarations
// Re-exports
pub use ;
pub use ;
pub use ;