Skip to content

function kfr_dft_execute_f64(KFR_DFT_PLAN_F64 *, kfr_c64 *, const kfr_c64 *, uint8_t *) capi

__declspec(dllimport)
#endif
#else
#ifdef KFR_BUILDING_DLL
#define KFR_API_SPEC KFR_CDECL attribute((visibility("default")))
#else
#define KFR_API_SPEC KFR_CDECL
#endif
#endif

#ifdef __cplusplus
extern "C" { … }

Execute the complex forward DFT on in and write the result to out.

Parameters
plan Pointer to the DFT plan.
out Pointer to the output data (frequency domain). May point to the same memory as in for in-place execution.
in Pointer to the input data (time domain).
temp Temporary (scratch) buffer. If NULL, scratch buffer of size kfr_dft_get_temp_size_f**(plan) will be allocated on stack or heap.

Note

No scaling is applied. This function reads \(N\) complex values from in and writes \(N\) complex values to out, where \(N\) is the size passed to kfr_dft_create_plan_f**.

Defined at capi.h:333