powered by
see title
FFT(x, ..., plan, inverse=FALSE) IFFT(x, ..., plan, scale=TRUE) DCT(x, ..., plan, type=1, inverse=FALSE) IDCT(x, ..., plan, type=1, scale=TRUE)
(complex) vector to process
ignored
FFTW plan, can be missing
perform inverse transform, provided for fft compatibility.
fft
scale results
type of DCT
Olaf Mersmann <olafm@statistik.uni-dortmund.de>
planFFT
n <- 2**16 x <- rnorm(n) p <- planFFT(n) y <- FFT(x, plan=p) Mod(x - IFFT(FFT(x)))
Run the code above in your browser using DataLab