[3deeb5]: src / dgt.c Maximize Restore History

Download this file

dgt.c    101 lines (67 with data), 2.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#include "config.h"
#include "ltfat.h"
#include "ltfat_types.h"
LTFAT_EXTERN
void LTFAT_NAME(dgt_long)(const LTFAT_COMPLEX *f, const LTFAT_COMPLEX *g,
const int L, const int W, const int a,
const int M, LTFAT_COMPLEX *cout)
{
LTFAT_NAME(dgt_long_plan) plan =
LTFAT_NAME(dgt_long_init)(f, g, L, W, a, M, cout, FFTW_ESTIMATE);
LTFAT_NAME(dgt_long_execute)(plan);
LTFAT_NAME(dgt_long_done)(plan);
}
LTFAT_EXTERN
void LTFAT_NAME(dgtreal_long)(const LTFAT_REAL *f, const LTFAT_REAL *g,
const int L, const int W, const int a,
const int M, LTFAT_COMPLEX *cout)
{
LTFAT_NAME(dgtreal_long_plan) plan =
LTFAT_NAME(dgtreal_long_init)(f, g, L, W, a, M, cout, FFTW_ESTIMATE);
LTFAT_NAME(dgtreal_long_execute)(plan);
LTFAT_NAME(dgtreal_long_done)(plan);
}
LTFAT_EXTERN void
LTFAT_NAME_COMPLEX(dgt_fb)(const LTFAT_COMPLEX *f, const LTFAT_COMPLEX *g,
const int L, const int gl,
const int W, const int a, const int M,
LTFAT_COMPLEX *cout)
{
LTFAT_NAME(dgt_fb_plan) plan =
LTFAT_NAME(dgt_fb_init)(g, gl, a, M, FFTW_ESTIMATE);
LTFAT_NAME(dgt_fb_execute)(plan, f, L, W, cout);
LTFAT_NAME(dgt_fb_done)(plan);
}
LTFAT_EXTERN void
LTFAT_NAME(dgtreal_fb)(const LTFAT_REAL *f, const LTFAT_REAL *g,
const int L, const int gl,
const int W, const int a, const int M,
LTFAT_COMPLEX *cout)
{
LTFAT_NAME(dgtreal_fb_plan) plan =
LTFAT_NAME(dgtreal_fb_init)(g, gl, a, M, FFTW_ESTIMATE);
LTFAT_NAME(dgtreal_fb_execute)(plan, f, L, W, cout);
LTFAT_NAME(dgtreal_fb_done)(plan);
}
LTFAT_EXTERN void
LTFAT_NAME(dgt_ola)(const LTFAT_COMPLEX *f, const LTFAT_COMPLEX *g,
const int L, const int gl,
const int W, const int a, const int M, const int bl,
LTFAT_COMPLEX *cout)
{
LTFAT_NAME(dgt_ola_plan) plan =
LTFAT_NAME(dgt_ola_init)(g, gl, W, a, M, bl, FFTW_ESTIMATE);
LTFAT_NAME(dgt_ola_execute)(plan, f, L, cout);
LTFAT_NAME(dgt_ola_done)(plan);
}
LTFAT_EXTERN void
LTFAT_NAME(dgtreal_ola)(const LTFAT_REAL *f, const LTFAT_REAL *g,
const int L, const int gl,
const int W, const int a, const int M, const int bl,
LTFAT_COMPLEX *cout)
{
LTFAT_NAME(dgtreal_ola_plan) plan =
LTFAT_NAME(dgtreal_ola_init)(g, gl, W, a, M, bl, FFTW_ESTIMATE);
LTFAT_NAME(dgtreal_ola_execute)(plan, f, L, cout);
LTFAT_NAME(dgtreal_ola_done)(plan);
}