Ardour  9.0-pre0-582-g084a23a80d
kissfft_utils::traits< T_scalar > Struct Template Reference

#include <kissfft.hh>

Public Types

typedef T_scalar scalar_type
 
typedef std::complex< scalar_typecpx_type
 

Public Member Functions

void fill_twiddles (std::complex< T_scalar > *dst, int nfft, bool inverse)
 
void prepare (std::vector< std::complex< T_scalar > > &dst, int nfft, bool inverse, std::vector< int > &stageRadix, std::vector< int > &stageRemainder)
 
const cpx_type twiddle (int i)
 

Public Attributes

std::vector< cpx_type_twiddles
 

Detailed Description

template<typename T_scalar>
struct kissfft_utils::traits< T_scalar >

Definition at line 9 of file kissfft.hh.

Member Typedef Documentation

◆ cpx_type

template<typename T_scalar >
typedef std::complex<scalar_type> kissfft_utils::traits< T_scalar >::cpx_type

Definition at line 12 of file kissfft.hh.

◆ scalar_type

template<typename T_scalar >
typedef T_scalar kissfft_utils::traits< T_scalar >::scalar_type

Definition at line 11 of file kissfft.hh.

Member Function Documentation

◆ fill_twiddles()

template<typename T_scalar >
void kissfft_utils::traits< T_scalar >::fill_twiddles ( std::complex< T_scalar > *  dst,
int  nfft,
bool  inverse 
)
inline

Definition at line 13 of file kissfft.hh.

◆ prepare()

template<typename T_scalar >
void kissfft_utils::traits< T_scalar >::prepare ( std::vector< std::complex< T_scalar > > &  dst,
int  nfft,
bool  inverse,
std::vector< int > &  stageRadix,
std::vector< int > &  stageRemainder 
)
inline

Definition at line 20 of file kissfft.hh.

◆ twiddle()

template<typename T_scalar >
const cpx_type kissfft_utils::traits< T_scalar >::twiddle ( int  i)
inline

Definition at line 52 of file kissfft.hh.

Member Data Documentation

◆ _twiddles

template<typename T_scalar >
std::vector<cpx_type> kissfft_utils::traits< T_scalar >::_twiddles

Definition at line 49 of file kissfft.hh.


The documentation for this struct was generated from the following file: