Пример #1
0
        //Real<->Real
        public static fftwf_plan r2r_1d(int n, fftwf_complexarray input, fftwf_complexarray output, fftw_kind kind, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.r2r_1d(n, input.Handle, output.Handle, kind, flags);
            return(p);
        }
Пример #2
0
        //Complex->Real
        public static fftwf_plan dft_c2r_1d(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_1d(n, input.Handle, output.Handle, (uint)flags);
            return(p);
        }
Пример #3
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, (uint)flags);
            return(p);
        }
Пример #4
0
        public static fftwf_plan dft_r2c(int rank, int[] n, fftwf_complexarray input, fftwf_complexarray output, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.dft_r2c(rank, n, input.Handle, output.Handle, (uint)flags);
            return(p);
        }
Пример #5
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, (int)kindx, (int)kindy, (uint)flags);
            return(p);
        }
Пример #6
0
        public static fftwf_plan dft(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(rank, n, input.Handle, output.Handle, direction, flags);
            return(p);
        }
Пример #7
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);
        }
Пример #8
0
        //Real->Complex transforms
        public static fftwf_plan dft_r2c_1d(int n, fftwf_complexarray input, fftwf_complexarray output, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();

            p.handle = fftwf.dft_r2c_1d(n, input.Handle, output.Handle, flags);
            return(p);
        }
Пример #9
0
        public static fftwf_plan r2r(int rank, int[] n, fftwf_complexarray input, fftwf_complexarray output,
                                     fftw_kind[] kind, fftw_flags flags)
        {
            var p = new fftwf_plan();

            p.handle = fftwf.r2r(rank, n, input.Handle, output.Handle,
                                 kind, flags);
            return(p);
        }
Пример #10
0
        public static fftwf_plan r2r_3d(int nx, int ny, int nz, fftwf_complexarray input, fftwf_complexarray output,
                                        fftw_kind kindx, fftw_kind kindy, fftw_kind kindz, fftw_flags flags)
        {
            var p = new fftwf_plan();

            p.handle = fftwf.r2r_3d(nx, ny, nz, input.Handle, output.Handle,
                                    kindx, kindy, kindz, flags);
            return(p);
        }
Пример #11
0
 //Real<->Real
 public static fftwf_plan r2r_1d(int n, fftwf_complexarray input, fftwf_complexarray output, fftw_kind kind, fftw_flags flags)
 {
     fftwf_plan p = new fftwf_plan();
     p.handle = fftwf.r2r_1d(n, input.Handle, output.Handle, kind, flags);
     return p;
 }
Пример #12
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;
        }
Пример #13
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;
 }
Пример #14
0
 public static fftwf_plan dft_c2r_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_c2r_2d(nx, ny, input.Handle, output.Handle, flags);
     return p;
 }
Пример #15
0
 //Complex<->Complex transforms
 public static fftwf_plan dft_1d(int n, fftwf_complexarray input, fftwf_complexarray output, fftw_direction direction, fftw_flags flags)
 {
     fftwf_plan p = new fftwf_plan();
     p.handle = fftwf.dft_1d(n, input.Handle, output.Handle, (int)direction,(uint)flags);
     return p;
 }
Пример #16
0
        public static fftwf_plan r2r_3d(int nx, int ny, int nz, fftwf_complexarray input, fftwf_complexarray output,
		                                fftw_kind kindx, fftw_kind kindy, fftw_kind kindz, fftw_flags flags)
        {
            fftwf_plan p = new fftwf_plan();
            p.handle = fftwf.r2r_3d(nx, ny, nz, input.Handle, output.Handle,
                                    kindx, kindy, kindz, flags);
            return p;
        }
Пример #17
0
 public static fftwf_plan dft(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(rank, n, input.Handle, output.Handle, direction, flags);
     return p;
 }
Пример #18
0
 public static fftwf_plan dft_r2c(int rank, int[] n, fftwf_complexarray input, fftwf_complexarray output, fftw_flags flags)
 {
     fftwf_plan p = new fftwf_plan();
     p.handle = fftwf.dft_r2c(rank, n, input.Handle, output.Handle, (uint)flags);
     return p;
 }