Ejemplo n.º 1
0
        //Complex->Real
        public static fftw_plan dft_c2r_1d(int n, fftw_complexarray input, fftw_complexarray output, fftw_direction direction, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();

            p.handle = fftw.dft_c2r_1d(n, input.Handle, output.Handle, (uint)flags);
            return(p);
        }
Ejemplo n.º 2
0
        //Real<->Real
        public static fftw_plan r2r_1d(int n, fftw_complexarray input, fftw_complexarray output, fftw_kind kind, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();

            p.handle = fftw.r2r_1d(n, input.Handle, output.Handle, (int)kind, (uint)flags);
            return(p);
        }
Ejemplo n.º 3
0
        public static fftw_plan dft_r2c(int rank, int[] n, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();

            p.handle = fftw.dft_r2c(rank, n, input.Handle, output.Handle, (uint)flags);
            return(p);
        }
Ejemplo n.º 4
0
        public static fftw_plan dft_c2r_3d(int nx, int ny, int nz, fftw_complexarray input, fftw_complexarray output, fftw_direction direction, fftw_flags flags)
        {
            var p = new fftw_plan();

            p.handle = fftw.dft_c2r_3d(nx, ny, nz, input.Handle, output.Handle, flags);
            return(p);
        }
Ejemplo n.º 5
0
        //Real->Complex transforms
        public static fftw_plan dft_r2c_1d(int n, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();

            p.handle = fftw.dft_r2c_1d(n, input.Handle, output.Handle, flags);
            return(p);
        }
Ejemplo n.º 6
0
        public static fftw_plan dft_c2r(int rank, int[] n, fftw_complexarray input, fftw_complexarray output, fftw_direction direction, fftw_flags flags)
        {
            var p = new fftw_plan();

            p.handle = fftw.dft_c2r(rank, n, input.Handle, output.Handle, flags);
            return(p);
        }
Ejemplo n.º 7
0
        public static fftw_plan r2r_2d(int nx, int ny, fftw_complexarray input, fftw_complexarray output, fftw_kind kindx, fftw_kind kindy, fftw_flags flags)
        {
            var p = new fftw_plan();

            p.handle = fftw.r2r_2d(nx, ny, input.Handle, output.Handle, kindx, kindy, flags);
            return(p);
        }
Ejemplo n.º 8
0
        public static fftw_plan dft_r2c_3d(int nx, int ny, int nz, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();

            p.handle = fftw.dft_r2c_3d(nx, ny, nz, input.Handle, output.Handle, (uint)flags);
            return(p);
        }
Ejemplo n.º 9
0
        public static fftw_plan dft_r2c_2d(int nx, int ny, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
        {
            var p = new fftw_plan();

            p.handle = fftw.dft_r2c_2d(nx, ny, input.Handle, output.Handle, flags);
            return(p);
        }
Ejemplo n.º 10
0
        public static fftw_plan r2r(int rank, int[] n, fftw_complexarray input, fftw_complexarray output,
                                    fftw_kind[] kind, fftw_flags flags)
        {
            var p = new fftw_plan();

            p.handle = fftw.r2r(rank, n, input.Handle, output.Handle,
                                kind, flags);
            return(p);
        }
Ejemplo n.º 11
0
        public static fftw_plan r2r_3d(int nx, int ny, int nz, fftw_complexarray input, fftw_complexarray output,
                                       fftw_kind kindx, fftw_kind kindy, fftw_kind kindz, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();

            p.handle = fftw.r2r_3d(nx, ny, nz, input.Handle, output.Handle,
                                   (int)kindx, (int)kindy, (int)kindz, (uint)flags);
            return(p);
        }
Ejemplo n.º 12
0
        public static fftw_plan r2r_3d(int nx, int ny, int nz, fftw_complexarray input, fftw_complexarray output,
		                               fftw_kind kindx, fftw_kind kindy, fftw_kind kindz, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();
            p.handle = fftw.r2r_3d(nx, ny, nz, input.Handle, output.Handle,
                                   kindx, kindy, kindz, flags);
            return p;
        }
Ejemplo n.º 13
0
 //Real<->Real
 public static fftw_plan r2r_1d(int n, fftw_complexarray input, fftw_complexarray output, fftw_kind kind, fftw_flags flags)
 {
     fftw_plan p = new fftw_plan();
     p.handle = fftw.r2r_1d(n, input.Handle, output.Handle, kind, flags);
     return p;
 }
Ejemplo n.º 14
0
        public static fftw_plan r2r(int rank, int[] n, fftw_complexarray input, fftw_complexarray output,
		                            fftw_kind[] kind, fftw_flags flags)
        {
            fftw_plan p = new fftw_plan();
            p.handle = fftw.r2r(rank, n, input.Handle, output.Handle,
                                kind, flags);
            return p;
        }
Ejemplo n.º 15
0
 public static fftw_plan dft_r2c_3d(int nx, int ny, int nz, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
 {
     fftw_plan p = new fftw_plan();
     p.handle = fftw.dft_r2c_3d(nx, ny, nz, input.Handle, output.Handle, flags);
     return p;
 }
Ejemplo n.º 16
0
 public static fftw_plan dft_r2c(int rank, int[] n, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
 {
     fftw_plan p = new fftw_plan();
     p.handle = fftw.dft_r2c(rank, n, input.Handle, output.Handle, flags);
     return p;
 }
Ejemplo n.º 17
0
 public static fftw_plan dft_c2r_2d(int nx, int ny, fftw_complexarray input, fftw_complexarray output, fftw_direction direction, fftw_flags flags)
 {
     fftw_plan p = new fftw_plan();
     p.handle = fftw.dft_c2r_2d(nx, ny, input.Handle, output.Handle, flags);
     return p;
 }
Ejemplo n.º 18
0
 //Real->Complex transforms
 public static fftw_plan dft_r2c_1d(int n, fftw_complexarray input, fftw_complexarray output, fftw_flags flags)
 {
     fftw_plan p = new fftw_plan();
     p.handle = fftw.dft_r2c_1d(n, input.Handle, output.Handle, (uint)flags);
     return p;
 }
Ejemplo n.º 19
0
 public static fftw_plan dft_c2r(int rank, int[] n, fftw_complexarray input, fftw_complexarray output, fftw_direction direction, fftw_flags flags)
 {
     fftw_plan p = new fftw_plan();
     p.handle = fftw.dft_c2r(rank, n, input.Handle, output.Handle, (uint)flags);
     return p;
 }