File: dgt_shear.h

package info (click to toggle)
python-ltfatpy 1.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,412 kB
  • sloc: ansic: 8,546; python: 6,470; makefile: 15
file content (53 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download | duplicates (7)
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
typedef struct
{
    ltfatInt a;
    ltfatInt M;
    ltfatInt L;
    ltfatInt W;
    ltfatInt s0;
    ltfatInt s1;
    ltfatInt br;

    LTFAT_COMPLEX *p0;
    LTFAT_COMPLEX *p1;

    LTFAT_COMPLEX *fwork;
    LTFAT_COMPLEX *gwork;
    LTFAT_COMPLEX *c_rect;

    LTFAT_COMPLEX *finalmod;

    LTFAT_FFTW(plan) f_plan;
    LTFAT_FFTW(plan) g_plan;


    LTFAT_NAME(dgt_long_plan) rect_plan;

    const LTFAT_COMPLEX *f;
    LTFAT_COMPLEX *cout;

} LTFAT_NAME(dgt_shear_plan);


LTFAT_EXTERN LTFAT_NAME(dgt_shear_plan)
LTFAT_NAME(dgt_shear_init)(
    const LTFAT_COMPLEX *f, const LTFAT_COMPLEX *g,
    const ltfatInt L, const ltfatInt W, const ltfatInt a,
    const ltfatInt M, const ltfatInt s0, const ltfatInt s1, const ltfatInt br,
    LTFAT_COMPLEX *cout,
    unsigned flags);

LTFAT_EXTERN void
LTFAT_NAME(dgt_shear_execute)(const LTFAT_NAME(dgt_shear_plan) plan);

LTFAT_EXTERN void
LTFAT_NAME(dgt_shear_done)(LTFAT_NAME(dgt_shear_plan) plan);

LTFAT_EXTERN void
LTFAT_NAME(dgt_shear)(const LTFAT_COMPLEX *f, const LTFAT_COMPLEX *g,
                      const ltfatInt L, const ltfatInt W, const ltfatInt a, const ltfatInt M,
                      const ltfatInt s0, const ltfatInt s1, const ltfatInt br,
                      LTFAT_COMPLEX *c);

LTFAT_EXTERN void
LTFAT_NAME(pchirp)(const long long L, const long long n, LTFAT_COMPLEX *g);