-
Notifications
You must be signed in to change notification settings - Fork 0
/
dft.h
23 lines (16 loc) · 630 Bytes
/
dft.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include <complex>
#include <cstdint>
#ifdef __cplusplus
extern "C" {
#endif
void dft(size_t num, const std::complex<double>* input, std::complex<double>* output);
void fft(size_t num, const std::complex<double>* input, std::complex<double>* output);
void fft_permut(size_t num, std::complex<double>* inoout);
void conv(size_t num0, const std::complex<double>* in0, size_t num1, const std::complex<double>* in1,
std::complex<double>* out);
void fft_conv(size_t num0, const std::complex<double>* in0, size_t num1, const std::complex<double>* in1,
std::complex<double>* out);
#ifdef __cplusplus
}
#endif