Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > Methods: Chapters 12 and 13

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2011, 10:39 AM
pompo pompo is offline
Registered User
 
Join Date: Jun 2011
Posts: 3
fourier inverse of complex matrix

i have 2D complex array as follow
MatComplex_IO X (512,512)

i wanna to get the fourier inverse of it ?
Reply With Quote
  #2  
Old 06-24-2011, 06:06 AM
pompo pompo is offline
Registered User
 
Join Date: Jun 2011
Posts: 3
help

i get the real part of the array - UR - and try to get the inverse fourier for it
it's also 512 * 512

MatDoub_IO UR (512,512)
Doub *dr=&UR[0][0];
Int p[2];
p[0]=UR.nrows();
p[1]=UR.ncols();
VecInt_I a(2,p);
fourn(dr,a,-1);

but
Access violation reading location 0x00b21040
at this line in fourier_ndim
SWAP(data[i3+1],data[i3rev+1]);

it's something about
--- Error: expression cannot be evaluated
Reply With Quote
Reply

Tags
fourn

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.