Skip to content

function kfr_dft_execute_f32(KFR_DFT_PLAN_F32 *, kfr_c32 *, const kfr_c32 *, uint8_t *) capi

void kfr_dft_execute_f32(KFR_DFT_PLAN_F32* plan, kfr_c32* out, const kfr_c32* in, uint8_t* temp)

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.
in Pointer to the input data.
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:320