#include <kissfft_i32.hh>
|
| kissfft_i32 (const std::size_t nfft, const bool inverse, const double scale_factor=1024.0) |
|
void | transform (const cpx_type *FSrc, cpx_type *FDst, const std::size_t stage=0, const std::size_t fstride=1, const std::size_t in_stride=1) const |
|
|
void | kf_bfly2 (cpx_type *const Fout, const size_t fstride, const std::size_t m) const |
|
void | kf_bfly3 (cpx_type *Fout, const std::size_t fstride, const std::size_t m) const |
|
void | kf_bfly4 (cpx_type *const Fout, const std::size_t fstride, const std::size_t m) const |
|
void | kf_bfly5 (cpx_type *const Fout, const std::size_t fstride, const std::size_t m) const |
|
void | kf_bfly_generic (cpx_type *const Fout, const size_t fstride, const std::size_t m, const std::size_t p) const |
|
Definition at line 19 of file kissfft_i32.hh.
◆ cpx_type
◆ scalar_type
◆ kissfft_i32()
kissfft_i32::kissfft_i32 |
( |
const std::size_t |
nfft, |
|
|
const bool |
inverse, |
|
|
const double |
scale_factor = 1024.0 |
|
) |
| |
|
inline |
◆ kf_bfly2()
void kissfft_i32::kf_bfly2 |
( |
cpx_type *const |
Fout, |
|
|
const size_t |
fstride, |
|
|
const std::size_t |
m |
|
) |
| const |
|
inlineprivate |
◆ kf_bfly3()
void kissfft_i32::kf_bfly3 |
( |
cpx_type * |
Fout, |
|
|
const std::size_t |
fstride, |
|
|
const std::size_t |
m |
|
) |
| const |
|
inlineprivate |
◆ kf_bfly4()
void kissfft_i32::kf_bfly4 |
( |
cpx_type *const |
Fout, |
|
|
const std::size_t |
fstride, |
|
|
const std::size_t |
m |
|
) |
| const |
|
inlineprivate |
◆ kf_bfly5()
void kissfft_i32::kf_bfly5 |
( |
cpx_type *const |
Fout, |
|
|
const std::size_t |
fstride, |
|
|
const std::size_t |
m |
|
) |
| const |
|
inlineprivate |
◆ kf_bfly_generic()
void kissfft_i32::kf_bfly_generic |
( |
cpx_type *const |
Fout, |
|
|
const size_t |
fstride, |
|
|
const std::size_t |
m, |
|
|
const std::size_t |
p |
|
) |
| const |
|
inlineprivate |
◆ transform()
void kissfft_i32::transform |
( |
const cpx_type * |
FSrc, |
|
|
cpx_type * |
FDst, |
|
|
const std::size_t |
stage = 0 , |
|
|
const std::size_t |
fstride = 1 , |
|
|
const std::size_t |
in_stride = 1 |
|
) |
| const |
|
inline |
Calculates the complex Discrete Fourier Transform.
The size of the passed arrays must be passed in the constructor. The sum of the squares of the absolute values in the dst
array will be N
times the sum of the squares of the absolute values in the src
array, where N
is the size of the array. In other words, the l_2 norm of the resulting array will be sqrt(N)
times as big as the l_2 norm of the input array. This is also the case when the inverse flag is set in the constructor. Hence when applying the same transform twice, but with the inverse flag changed the second time, then the result will be equal to the original input times N
.
Definition at line 86 of file kissfft_i32.hh.
◆ _inverse
bool kissfft_i32::_inverse |
|
private |
◆ _nfft
std::size_t kissfft_i32::_nfft |
|
private |
◆ _scale_factor
◆ _stageRadix
std::vector<std::size_t> kissfft_i32::_stageRadix |
|
private |
◆ _stageRemainder
std::vector<std::size_t> kissfft_i32::_stageRemainder |
|
private |
◆ _twiddles
std::vector<cpx_type> kissfft_i32::_twiddles |
|
private |
The documentation for this class was generated from the following file: