#include "lo-mappers.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.h"
Go to the source code of this file.
Defines | |
#define | FFTSRC "@sc{fftpack}" |
Functions | |
DEFUN_DLD (fft2, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} fft2 (@var{A})\n\ @deftypefnx {Loadable Function} {} fft2 (@var{A}, @var{m}, @var{n})\n\ Compute the two-dimensional discrete Fourier transform of @var{A} using\n\ a Fast Fourier Transform (FFT) algorithm.\n\ \n\ The optional arguments @var{m} and @var{n} may be used specify the\n\ number of rows and columns of @var{A} to use. If either of these is\n\ larger than the size of @var{A}, @var{A} is resized and padded with\n\ zeros.\n\ \n\ If @var{A} is a multi-dimensional matrix, each two-dimensional sub-matrix\n\ of @var{A} is treated separately.\n\ @seealso {ifft2, fft, fftn, fftw}\n\ @end deftypefn") | |
DEFUN_DLD (ifft2, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} ifft2 (@var{A})\n\ @deftypefnx {Loadable Function} {} ifft2 (@var{A}, @var{m}, @var{n})\n\ Compute the inverse two-dimensional discrete Fourier transform of @var{A}\n\ using a Fast Fourier Transform (FFT) algorithm.\n\ \n\ The optional arguments @var{m} and @var{n} may be used specify the\n\ number of rows and columns of @var{A} to use. If either of these is\n\ larger than the size of @var{A}, @var{A} is resized and padded with\n\ zeros.\n\ \n\ If @var{A} is a multi-dimensional matrix, each two-dimensional sub-matrix\n\ of @var{A} is treated separately\n\ @seealso {fft2, ifft, ifftn, fftw}\n\ @end deftypefn") | |
static octave_value | do_fft2 (const octave_value_list &args, const char *fcn, int type) |
static octave_value do_fft2 | ( | const octave_value_list & | args, | |
const char * | fcn, | |||
int | type | |||
) | [static] |
Definition at line 45 of file fft2.cc.
References dim_vector::all_zero(), arg(), octave_value::array_value(), octave_value::complex_array_value(), octave_value::dims(), error(), error_state, octave_value::float_array_value(), octave_value::float_complex_array_value(), ComplexNDArray::fourier2d(), NDArray::fourier2d(), FloatComplexNDArray::fourier2d(), FloatNDArray::fourier2d(), gripe_wrong_type_arg(), ComplexNDArray::ifourier2d(), NDArray::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatNDArray::ifourier2d(), octave_value::is_complex_type(), octave_value::is_real_type(), octave_value::is_single_type(), dim_vector::length(), octave_value_list::length(), NINTbig(), octave_value(), print_usage(), Array< T >::resize(), and xisnan().
Referenced by DEFUN_DLD().