std1.0.0-beta-7 SafeC docs

std :: dsp::fft

Function std::fft_real

#include <std/dsp/fft.h> source ยท definition

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

Real input -> its full n-point complex spectrum in 'out' (n elements; out[n-k] = conj(out[k])). Computed with one n/2-point complex transform. Returns 1 on success, 0 if n isn't a power of two.