Skip to content

function kfr_dft_real_execute_f32(KFR_DFT_REAL_PLAN_F32 *, kfr_c32 *, const kfr_f32 *, 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 real DFT on in and write the result to out

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

Note

This function reads \(N\) real values from in and writes \(\frac{N}{2}\) (Perm format) or \(\frac{N}{2}+1\) (CCs format) complex values to out, where \(N\) is the size passed to kfr_dft_real_create_plan_f**.

Defined at capi.h:461