added example04 for clfft inplace complex-interleaved transform

This commit is contained in:
Dakota St. Laurent
2015-08-03 16:01:08 -04:00
parent 3129ddfbf9
commit 14438e2355
5 changed files with 196 additions and 5 deletions

13
example04/main.py Normal file
View File

@@ -0,0 +1,13 @@
import numpy as np
import scipy.fftpack as fft
N = 128
v = np.arange(N) + 2*np.arange(N)*1j
v_fft = fft.fft(v)
v_fft_altered = 2 * v_fft
v_final = fft.ifft(v_fft_altered)
print v_final