ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::fft::halfcomplex_float Namespace Reference

Complex fast Fourier transforms. More...

Namespaces

namespace  radix2
 Radix 2 transforms.
 

Classes

class  wavetable
 C++ version of gsl_fft_halfcomplex_wavetable_float functions. More...
 

Functions

int backward (gsl::complex_packed_array_float data, size_t const stride, size_t const n, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_backward(). More...
 
int inverse (gsl::complex_packed_array_float data, size_t const stride, size_t const n, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_inverse(). More...
 
int unpack (float const real_coefficient[], float complex_coefficient[], size_t const stride, size_t const n)
 C++ version of gsl_fft_halfcomplex_float_unpack(). More...
 
template<typename DATA >
int backward (DATA &data, size_t const stride, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_backward(). More...
 
template<typename DATA >
int inverse (DATA &data, size_t const stride, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_inverse(). More...
 
template<typename R , typename C >
int unpack (R const &real_coefficient, C &complex_coefficient, size_t const stride)
 C++ version of gsl_fft_halfcomplex_float_unpack(). More...
 
template<>
int unpack (vector_float const &real_coefficient, vector_complex_float &complex_coefficient, size_t const stride)
 C++ version of gsl_fft_halfcomplex_float_unpack(). More...
 
int backward (gsl::complex_packed_array_float data, size_t const n, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_backward(). More...
 
int inverse (gsl::complex_packed_array_float data, size_t const n, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_inverse(). More...
 
int unpack (float const real_coefficient[], float complex_coefficient[], size_t const n)
 C++ version of gsl_fft_halfcomplex_float_unpack(). More...
 
template<typename DATA >
int backward (DATA &data, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_backward(). More...
 
template<typename DATA >
int inverse (DATA &data, wavetable const &wavetable, real_float::workspace &work)
 C++ version of gsl_fft_halfcomplex_float_inverse(). More...
 
template<typename R , typename C >
int unpack (R const &real_coefficient, C &complex_coefficient)
 C++ version of gsl_fft_halfcomplex_float_unpack(). More...
 
template<>
int unpack (vector_float const &real_coefficient, vector_complex_float &complex_coefficient)
 C++ version of gsl_fft_halfcomplex_float_unpack(). More...
 

Detailed Description

Complex fast Fourier transforms.

Function Documentation

◆ backward() [1/4]

template<typename DATA >
int gsl::fft::halfcomplex_float::backward ( DATA &  data,
size_t const  stride,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_backward().

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

Parameters
dataAn array of halfcomplex values as an array of float values.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 349 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), and gsl::fft::real_float::workspace::get().

◆ backward() [2/4]

template<typename DATA >
int gsl::fft::halfcomplex_float::backward ( DATA &  data,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_backward().

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

Parameters
dataAn array of halfcomplex values as an array of float values.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 444 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), and gsl::fft::real_float::workspace::get().

◆ backward() [3/4]

int gsl::fft::halfcomplex_float::backward ( gsl::complex_packed_array_float  data,
size_t const  n,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_backward().

Parameters
dataAn array of halfcomplex values as an array of float values.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 409 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), gsl::fft::real_float::workspace::get(), and gsl::rstat::n().

◆ backward() [4/4]

int gsl::fft::halfcomplex_float::backward ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_backward().

Parameters
dataAn array of halfcomplex values as an array of float values.
strideThe stride of the array.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 310 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), gsl::fft::real_float::workspace::get(), and gsl::rstat::n().

◆ inverse() [1/4]

template<typename DATA >
int gsl::fft::halfcomplex_float::inverse ( DATA &  data,
size_t const  stride,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_inverse().

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

Parameters
dataAn array of halfcomplex values as an array of float values.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 364 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), and gsl::fft::real_float::workspace::get().

◆ inverse() [2/4]

template<typename DATA >
int gsl::fft::halfcomplex_float::inverse ( DATA &  data,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_inverse().

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

Parameters
dataAn array of halfcomplex values as an array of float values.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 458 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), and gsl::fft::real_float::workspace::get().

◆ inverse() [3/4]

int gsl::fft::halfcomplex_float::inverse ( gsl::complex_packed_array_float  data,
size_t const  n,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_inverse().

Parameters
dataAn array of halfcomplex values as an array of float values.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 421 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), gsl::fft::real_float::workspace::get(), and gsl::rstat::n().

◆ inverse() [4/4]

int gsl::fft::halfcomplex_float::inverse ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n,
wavetable const &  wavetable,
real_float::workspace work 
)
inline

C++ version of gsl_fft_halfcomplex_float_inverse().

Parameters
dataAn array of halfcomplex values as an array of float values.
strideThe stride of the array.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 323 of file fft_halfcomplex_float.hpp.

References gsl::fft::halfcomplex_float::wavetable::get(), gsl::fft::real_float::workspace::get(), and gsl::rstat::n().

◆ unpack() [1/6]

int gsl::fft::halfcomplex_float::unpack ( float const  real_coefficient[],
float  complex_coefficient[],
size_t const  n 
)
inline

C++ version of gsl_fft_halfcomplex_float_unpack().

Parameters
real_coefficientAn array of float values.
complex_coefficientAn array of float values for complex coefficients.
nThe size of the array.
Returns
Error code on failure.

Definition at line 432 of file fft_halfcomplex_float.hpp.

References gsl::rstat::n().

◆ unpack() [2/6]

int gsl::fft::halfcomplex_float::unpack ( float const  real_coefficient[],
float  complex_coefficient[],
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_halfcomplex_float_unpack().

Parameters
real_coefficientAn array of float values.
complex_coefficientAn array of float values for complex coefficients.
strideThe stride of the array.
nThe size of the array.
Returns
Error code on failure.

Definition at line 335 of file fft_halfcomplex_float.hpp.

References gsl::rstat::n().

◆ unpack() [3/6]

template<typename R , typename C >
int gsl::fft::halfcomplex_float::unpack ( R const &  real_coefficient,
C &  complex_coefficient 
)
inline

C++ version of gsl_fft_halfcomplex_float_unpack().

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

Parameters
real_coefficientAn array of float values.
complex_coefficientAn array of float values for complex coefficients.
Returns
Error code on failure.

Definition at line 471 of file fft_halfcomplex_float.hpp.

References gsl::movstat::max(), and gsl::rstat::n().

◆ unpack() [4/6]

template<typename R , typename C >
int gsl::fft::halfcomplex_float::unpack ( R const &  real_coefficient,
C &  complex_coefficient,
size_t const  stride 
)
inline

C++ version of gsl_fft_halfcomplex_float_unpack().

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

Parameters
real_coefficientAn array of float values.
complex_coefficientAn array of float values for complex coefficients.
strideThe stride of the array.
Returns
Error code on failure.

Definition at line 378 of file fft_halfcomplex_float.hpp.

References gsl::movstat::max(), and gsl::rstat::n().

◆ unpack() [5/6]

template<>
int gsl::fft::halfcomplex_float::unpack ( vector_float const &  real_coefficient,
vector_complex_float complex_coefficient 
)
inline

C++ version of gsl_fft_halfcomplex_float_unpack().

Works with vector and vector_complex.

Parameters
real_coefficientAn array of float values.
complex_coefficientAn array of float values for complex coefficients.
Returns
Error code on failure.

Definition at line 483 of file fft_halfcomplex_float.hpp.

References gsl::vector_complex_float::data(), gsl::vector_float::data(), gsl::movstat::max(), gsl::rstat::n(), gsl::vector_complex_float::size(), and gsl::vector_float::size().

◆ unpack() [6/6]

template<>
int gsl::fft::halfcomplex_float::unpack ( vector_float const &  real_coefficient,
vector_complex_float complex_coefficient,
size_t const  stride 
)
inline

C++ version of gsl_fft_halfcomplex_float_unpack().

Works with vector and vector_complex.

Parameters
real_coefficientAn array of float values.
complex_coefficientAn array of float values for complex coefficients.
strideThe stride of the array.
Returns
Error code on failure.

Definition at line 393 of file fft_halfcomplex_float.hpp.

References gsl::vector_complex_float::data(), gsl::vector_float::data(), gsl::movstat::max(), gsl::rstat::n(), gsl::vector_complex_float::size(), and gsl::vector_float::size().