File: cwt.template.h

package info (click to toggle)
pywavelets 1.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,680 kB
  • sloc: python: 8,849; ansic: 5,134; makefile: 93
file content (43 lines) | stat: -rw-r--r-- 1,568 bytes parent folder | download | duplicates (4)
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
/* Copyright (c) 2016 Holger Nahrstaedt */
/* See COPYING for license details. */


#include "templating.h"

#ifndef TYPE
#error TYPE must be defined here.
#else

#include "cwt.h"

#if defined _MSC_VER
#define restrict __restrict
#elif defined __GNUC__
#define restrict __restrict__
#endif


void CAT(TYPE, _gaus)(const TYPE * const restrict input,
                              TYPE * const restrict output, const size_t N,
                              const size_t number);


void CAT(TYPE, _mexh)(const TYPE * const restrict input, TYPE * const restrict output, const size_t N);

void CAT(TYPE, _morl)(const TYPE * const restrict input, TYPE * const restrict output, const size_t N);

void CAT(TYPE, _cgau)(const TYPE * const restrict input,
                              TYPE * const restrict output_r, TYPE * const restrict output_i, const size_t N,
                              const size_t number);


void CAT(TYPE, _shan)(const TYPE * const restrict input, TYPE * const restrict output_r, TYPE * const restrict output_i, const size_t N,
                              const TYPE  FB, const TYPE  FC);

void CAT(TYPE, _fbsp)(const TYPE * const restrict input, TYPE * const restrict output_r, TYPE * const restrict output_i, const size_t N,
                              const unsigned int M, const TYPE  FB, const TYPE  FC);

void CAT(TYPE, _cmor)(const TYPE * const restrict input, TYPE * const restrict output_r, TYPE * const restrict output_i, const size_t N,
                              const TYPE  FB, const TYPE  FC);
#endif /* TYPE */
#undef restrict