core
vnl
algo
vnl_fft_base.h
Go to the documentation of this file.
1
// This is core/vnl/algo/vnl_fft_base.h
2
#ifndef vnl_fft_base_h_
3
#define vnl_fft_base_h_
4
//:
5
// \file
6
// \brief In-place n-D fast Fourier transform
7
// \author fsm
8
9
#include <complex>
10
#ifdef _MSC_VER
11
# include <vcl_msvc_warnings.h>
12
#endif
13
#include <vnl/algo/vnl_algo_export.h>
14
#include <
vnl/algo/vnl_fft_prime_factors.h
>
15
16
//: Base class for in-place ND fast Fourier transform.
17
18
template
<
int
D,
class
T>
19
struct
VNL_ALGO_EXPORT
vnl_fft_base
20
{
21
vnl_fft_base
() =
default
;
22
23
//: dir = +1/-1 according to direction of transform.
24
void
transform(std::complex<T> *signal,
int
dir);
25
26
protected
:
27
//: prime factorizations of signal dimensions.
28
vnl_fft_prime_factors<T>
factors_[D];
29
};
30
31
#endif // vnl_fft_base_h_
vnl_fft_prime_factors.h
Holds prime factor information.
vnl_fft_base
Base class for in-place ND fast Fourier transform.
Definition:
vnl_fft_base.h:19
vnl_fft_prime_factors
Holds prime factor information.
Definition:
vnl_fft_prime_factors.h:26
Generated by
1.8.15