Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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;
 }
Example #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;
        }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
        }
Example #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;
 }
Example #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;
 }