我要评分
获取效率
正确性
完整性
易理解

kml_fft(f)_execute_r2r

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

Interface Definition

C interface:

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

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

Fortran interface:

CALL KML_FFT_EXECUTE_R2R(P, IN, OUT);.

CALL KML_FFTF_EXECUTE_R2R(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: double*
  • Single precision: float*

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 R2R Transforms.