function_fft

An external function to carry out FFT

Inputs

TypeNameDefaultDescription
Integerdir1Calculation direction: 1 - forward; -1 - backward
Integerm3Data points = 2^m
Realx{i for i in 1:8}Real part of the data
Realy{0, 0, 0, 0, 0, 0, 0, 0}Imaginary part of the data

Outputs

TypeNameDefaultDescription
Realx_outxReal part of the result
Realy_outyImaginary part of the result