ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::fft::real_float::radix2 Namespace Reference

Radix 2 transforms. More...

Functions

int transform (float data[], size_t const stride, size_t const n)
 C++ version of gsl_fft_real_float_radix2_transform(). More...
 
template<typename DATA >
int transform (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_radix2_transform(). More...
 
int transform (float data[], size_t const n)
 C++ version of gsl_fft_real_float_radix2_transform(). More...
 

Detailed Description

Radix 2 transforms.

Function Documentation

◆ transform() [1/3]

template<typename DATA >
int gsl::fft::real_float::radix2::transform ( DATA &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_fft_complex_radix2_transform().

Works with std::array<float>, std::vector<float> and gsl::vector_float.

Parameters
dataAn array of complex values packed as an array of double length of float.
strideThe stride of the array.
Returns
Error code on failure.

Definition at line 55 of file fft_real_float.hpp.

◆ transform() [2/3]

int gsl::fft::real_float::radix2::transform ( float  data[],
size_t const  n 
)
inline

C++ version of gsl_fft_real_float_radix2_transform().

Parameters
dataAn array of float values.
nThe size of the array.
Returns
Error code on failure.

Definition at line 64 of file fft_real_float.hpp.

References gsl::rstat::n().

◆ transform() [3/3]

int gsl::fft::real_float::radix2::transform ( float  data[],
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_real_float_radix2_transform().

Parameters
dataAn array of float values.
strideThe stride of the array.
nThe size of the array.
Returns
Error code on failure.

Definition at line 44 of file fft_real_float.hpp.

References gsl::rstat::n().