メインページ   クラス階層   構成   ファイル一覧   構成メンバ   ファイルメンバ  

oct-fftw.h

解説を見る。
00001 /*
00002 
00003 This file is part of Octave.
00004 
00005 Octave is free software; you can redistribute it and/or modify it
00006 under the terms of the GNU General Public License as published by the
00007 Free Software Foundation; either version 2, or (at your option) any
00008 later version.
00009 
00010 Octave is distributed in the hope that it will be useful, but WITHOUT
00011 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00013 for more details.
00014 
00015 You should have received a copy of the GNU General Public License
00016 along with Octave; see the file COPYING.  If not, write to the Free
00017 Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018 
00019 */
00020 
00021 #if !defined (octave_oct_fftw_h)
00022 #define octave_oct_fftw_h 1
00023 
00024 #include <cstddef>
00025 #include <fftw3.h>
00026 
00027 #include "oct-cmplx.h"
00028 #include "dim-vector.h"
00029 
00030 class
00031 octave_fftw
00032 {
00033 public:
00034   static int fft (const double *in, Complex *out, size_t npts, 
00035                   size_t nsamples = 1, int stride = 1, int dist = -1);
00036   static int fft (const Complex *in, Complex *out, size_t npts, 
00037                   size_t nsamples = 1, int stride = 1, int dist = -1);
00038   static int ifft (const Complex *in, Complex *out, size_t npts,
00039                    size_t nsamples = 1, int stride = 1, int dist = -1);
00040 
00041   static int fftNd (const double*, Complex*, const int, const dim_vector &);
00042   static int fftNd (const Complex*, Complex*, const int, 
00043                     const dim_vector &);
00044   static int ifftNd (const Complex*, Complex*, const int, 
00045                      const dim_vector &);
00046 
00047 private:
00048   octave_fftw ();
00049   octave_fftw (const octave_fftw&);
00050   octave_fftw& operator = (const octave_fftw&);
00051 };
00052 
00053 #endif
00054 
00055 /*
00056 ;;; Local Variables: ***
00057 ;;; mode: C++ ***
00058 ;;; End: ***
00059 */
00060 

Wed Dec 29 11:52:07 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送