12#include "../../Utils/Math/Mathematics.h"
66 static void Swap(
float* a,
float* b);
A templated class for performing Fast Fourier Transform (FFT) operations.
static void Radix2FFT(float *data)
Performs a Radix-2 FFT on the provided data.
static constexpr int CalculateBits(int size, int count=0)
Calculates the number of bits required for bit reversal based on FFT size.
static const constexpr int bitCount
The number of bits needed for bit reversal for this FFT size.
static void BitReverseOrder(float *data)
Reorders the data array in bit-reversed order.
static void Swap(float *a, float *b)
Swaps two floating-point values.
static void ComplexMagnitude(float *complexData, float *magnitude)
Computes the magnitude of complex numbers from interleaved real and imaginary components.
static const constexpr float twiddleCoefficients[fftSize *2]
Precomputed twiddle coefficients for the FFT.
static int ReverseBits(int num)
Reverses the bits of an integer.
Implements a generic Kalman Filter for 1D data.