示例#1
0
        public static fftwf_plan dft_2d(int nx, int ny, fftwf_complexarray input, fftwf_complexarray output, fftw_direction direction, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.dft_2d(nx, ny, input.Handle, output.Handle, direction, flags);
            return(p);
        }
示例#2
0
        public static fftwf_plan dft_c2r(int rank, int[] n, fftwf_complexarray input, fftwf_complexarray output, fftw_direction direction, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.dft_c2r(rank, n, input.Handle, output.Handle, flags);
            return(p);
        }
示例#3
0
        public static fftwf_plan r2r_2d(int nx, int ny, fftwf_complexarray input, fftwf_complexarray output, fftw_kind kindx, fftw_kind kindy, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.r2r_2d(nx, ny, input.Handle, output.Handle, kindx, kindy, flags);
            return(p);
        }
示例#4
0
        public static fftwf_plan dft_r2c_3d(int nx, int ny, int nz, fftwf_complexarray input, fftwf_complexarray output, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.dft_r2c_3d(nx, ny, nz, input.Handle, output.Handle, flags);
            return(p);
        }
示例#5
0
        public static fftwf_plan r2r(int rank, int[] n, fftwf_complexarray input, fftwf_complexarray output,
                                     fftw_kind[] kind, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.r2r(rank, n, input.Handle, output.Handle,
                                 kind, flags);
            return(p);
        }