comparison src/DLD-FUNCTIONS/fftn.cc @ 4787:02c748eb2ddc

[project @ 2004-02-18 21:20:26 by jwe]
author jwe
date Wed, 18 Feb 2004 21:20:26 +0000
parents 3dfdf6f36854
children a3440ff5eb14
comparison
equal deleted inserted replaced
4786:fc316bde0053 4787:02c748eb2ddc
118 return retval; 118 return retval;
119 } 119 }
120 120
121 DEFUN_DLD (fftn, args, , 121 DEFUN_DLD (fftn, args, ,
122 "-*- texinfo -*-\n\ 122 "-*- texinfo -*-\n\
123 @deftypefn {Loadable Function} {} fftn (@var{a}, @var{siz})\n\ 123 @deftypefn {Loadable Function} {} fftn (@var{a}, @var{size})\n\
124 Compute the N dimensional FFT of @var{a} using subroutines from\n" 124 Compute the N dimensional FFT of @var{a} using subroutines from\n"
125 FFTSRC 125 FFTSRC
126 ". The optional vector argument @var{siz} may be used specify the\n\ 126 ". The optional vector argument @var{size} may be used specify the\n\
127 dimensions of the array to be used. If an element of @var{siz} is\n\ 127 dimensions of the array to be used. If an element of @var{size} is\n\
128 smaller than the corresponding dimension, then the dimension is\n\ 128 smaller than the corresponding dimension, then the dimension is\n\
129 truncated prior to performing the FFT. Otherwise if an element\n\ 129 truncated prior to performing the FFT. Otherwise if an element\n\
130 of @var{siz} is larger than the corresponding dimension @var{a}\n\ 130 of @var{size} is larger than the corresponding dimension @var{a}\n\
131 is resized and padded with zeros.\n\ 131 is resized and padded with zeros.\n\
132 @end deftypefn\n\ 132 @end deftypefn\n\
133 @seealso {ifftn, fft, fft2, fftw_wisdom}") 133 @seealso {ifftn, fft, fft2, fftw_wisdom}")
134 { 134 {
135 return do_fftn (args, "fftn", 0); 135 return do_fftn (args, "fftn", 0);
136 } 136 }
137 137
138 DEFUN_DLD (ifftn, args, , 138 DEFUN_DLD (ifftn, args, ,
139 "-*- texinfo -*-\n\ 139 "-*- texinfo -*-\n\
140 @deftypefn {Loadable Function} {} ifftn (@var{a}, @var{siz})\n\ 140 @deftypefn {Loadable Function} {} ifftn (@var{a}, @var{size})\n\
141 Compute the invesre N dimensional FFT of @var{a} using subroutines from\n" 141 Compute the invesre N dimensional FFT of @var{a} using subroutines from\n"
142 FFTSRC 142 FFTSRC
143 ". The optional vector argument @var{siz} may be used specify the\n\ 143 ". The optional vector argument @var{size} may be used specify the\n\
144 dimensions of the array to be used. If an element of @var{siz} is\n\ 144 dimensions of the array to be used. If an element of @var{size} is\n\
145 smaller than the corresponding dimension, then the dimension is\n\ 145 smaller than the corresponding dimension, then the dimension is\n\
146 truncated prior to performing the inverse FFT. Otherwise if an element\n\ 146 truncated prior to performing the inverse FFT. Otherwise if an element\n\
147 of @var{siz} is larger than the corresponding dimension @var{a}\n\ 147 of @var{size} is larger than the corresponding dimension @var{a}\n\
148 is resized and padded with zeros.\n\ 148 is resized and padded with zeros.\n\
149 @end deftypefn\n\ 149 @end deftypefn\n\
150 @seealso {fftn, ifft, ifft2, fftw_wisdom}") 150 @seealso {fftn, ifft, ifft2, fftw_wisdom}")
151 { 151 {
152 return do_fftn (args, "ifftn", 1); 152 return do_fftn (args, "ifftn", 1);