multidimensional array - Fortran FFTW with strides ''Matlab-like'' -


i newbie in fortran, , trying transform matlab code efficiently .f

i using fftw3 package , need ffts strides complex complex. e.g. 2 dimensions out of 3d array should transformed.

what in matlab

fft(fft(u,[],2),[],3)  

where u(nx,ny,nz) 3d matrix.

i can in fortran via looping slower matlabs ffts in below;

call dfftw_plan_dft_2d(planf,nx,nz,inf,outf,fftw_forward,fftw_measure) l=1,nx;     call dfftw_execute_dft_(planf,f(l,:,:),fh(l,:,:)); end 

fft_many solution problem strides can used, couldn't work somehow. help?

this link 'c' of fftw's advanced complex ffts;


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -