Rate This Document
Findability
Accuracy
Completeness
Readability

kml_fft(f)_execute_dft_c2r

Execute the created FFT plan. However, kml_fft(f)_execute_dft_c2r can accept new input and output data rather than the plan data as parameters.

Interface Definition

C interface:

void kml_fft_execute_dft_c2r(const kml_fft_plan p, kml_fft_complex *in, double *out);

void kml_fftf_execute_dft_c2r(const kml_fftf_plan p, kml_fftf_complex *in, float *out);

Fortran interface:

CALL KML_FFT_EXECUTE_DFT_C2R(P, IN, OUT);

CALL KML_FFTF_EXECUTE_DFT_C2R(P, IN, OUT);

Parameters

Parameter

Data Type

Description

Input/Output

p

  • Double precision: const kml_fft_plan
  • Single precision: const kml_fftf_plan

FFT plan obtained by calling the plan function.

Input

in

  • Double precision: kml_fft_complex*
  • Single precision: kml_fftf_complex*

Inputs the data to be transformed.

Input

out

  • Double precision: double*
  • Single precision: float*

Outputs the data generated using FFT.

Output

Dependencies

C: "kfft.h"

Fortran: "kfft.f03"

Examples

See C2R Transforms.