std1.0.0-beta-7 SafeC docs

std :: dsp::dft

Function std::dft_real

#include <std/dsp/dft.h> source · definition

int dft_real([]const double in, []Complex out)

Forward transform, real input -> complex output (convenience: treats each sample as Complex(x, 0) internally without requiring the caller to build that array themselves — the common case for analyzing a real audio/sensor signal).