Navigation

Operators and Keywords

Function List:

C++ API

fft.cc File Reference

#include "lo-mappers.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.h"

Include dependency graph for fft.cc:


Defines

#define FFTSRC   "@sc{fftpack}"

Functions

 DEFUN_DLD (fft, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} fft (@var{a}, @var{n}, @var{dim})\n\ Compute the FFT of @var{a} using subroutines from\n"FFTSRC". The FFT is calculated along the first non-singleton dimension of the\n\ array. Thus if @var{a} is a matrix, @code{fft (@var{a})} computes the\n\ FFT for each column of @var{a}.\n\ \n\ If called with two arguments, @var{n} is expected to be an integer\n\ specifying the number of elements of @var{a} to use, or an empty\n\ matrix to specify that its value should be ignored. If @var{n} is\n\ larger than the dimension along which the FFT is calculated, then\n\ @var{a} is resized and padded with zeros. Otherwise, if @var{n} is\n\ smaller than the dimension along which the FFT is calculated, then\n\ @var{a} is truncated.\n\ \n\ If called with three arguments, @var{dim} is an integer specifying the\n\ dimension of the matrix along which the FFT is performed\n\ @seealso{ifft, fft2, fftn, fftw}\n\ @end deftypefn")
 DEFUN_DLD (ifft, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} ifft (@var{a}, @var{n}, @var{dim})\n\ Compute the inverse FFT of @var{a} using subroutines from\n"FFTSRC". The inverse FFT is calculated along the first non-singleton dimension\n\ of the array. Thus if @var{a} is a matrix, @code{fft (@var{a})} computes\n\ the inverse FFT for each column of @var{a}.\n\ \n\ If called with two arguments, @var{n} is expected to be an integer\n\ specifying the number of elements of @var{a} to use, or an empty\n\ matrix to specify that its value should be ignored. If @var{n} is\n\ larger than the dimension along which the inverse FFT is calculated, then\n\ @var{a} is resized and padded with zeros. Otherwise, if@var{n} is\n\ smaller than the dimension along which the inverse FFT is calculated,\n\ then @var{a} is truncated.\n\ \n\ If called with three arguments, @var{dim} is an integer specifying the\n\ dimension of the matrix along which the inverse FFT is performed\n\ @seealso{fft, ifft2, ifftn, fftw}\n\ @end deftypefn")

Define Documentation

#define FFTSRC   "@sc{fftpack}"


Function Documentation

DEFUN_DLD ( ifft  ,
args   
)

DEFUN_DLD ( fft  ,
args   
)