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

Complex fast Fourier transforms. More...

Namespaces

namespace  radix2
 Radix 2 transforms.
 

Classes

class  wavetable
 C++ version of gsl_fft_complex_wavetable_float functions. More...
 
class  workspace
 Workspace for complex_float fast fourier transforms. More...
 

Functions

int forward (gsl::complex_packed_array_float data, size_t const stride, size_t const n, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_forward(). More...
 
int backward (gsl::complex_packed_array_float data, size_t const stride, size_t const n, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_backward(). More...
 
int inverse (gsl::complex_packed_array_float data, size_t const stride, size_t const n, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_inverse(). More...
 
int transform (gsl::complex_packed_array_float data, size_t const stride, size_t const n, wavetable const &wavetable, workspace &work, fft::direction const sign)
 C++ version of gsl_fft_complex_float_transform(). More...
 
int forward (gsl::complex_packed_array_float data, size_t const n, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_forward(). More...
 
int backward (gsl::complex_packed_array_float data, size_t const n, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_backward(). More...
 
int inverse (gsl::complex_packed_array_float data, size_t const n, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_inverse(). More...
 
int transform (gsl::complex_packed_array_float data, size_t const n, wavetable const &wavetable, workspace &work, fft::direction const sign)
 C++ version of gsl_fft_complex_float_transform(). More...
 
template<typename DATA >
int forward (DATA &data, size_t const stride, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_forward(). More...
 
template<typename DATA >
int backward (DATA &data, size_t const stride, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_backward(). More...
 
template<typename DATA >
int inverse (DATA &data, size_t const stride, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_inverse(). More...
 
template<typename DATA >
int transform (DATA &data, size_t const stride, wavetable const &wavetable, workspace &work, fft::direction const sign)
 C++ version of gsl_fft_complex_float_transform(). More...
 
template<>
int forward (gsl::vector_complex_float &data, size_t const stride, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_forward(). More...
 
template<>
int backward (gsl::vector_complex_float &data, size_t const stride, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_backward(). More...
 
template<>
int inverse (gsl::vector_complex_float &data, size_t const stride, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_inverse(). More...
 
template<>
int transform (gsl::vector_complex_float &data, size_t const stride, wavetable const &wavetable, workspace &work, fft::direction const sign)
 C++ version of gsl_fft_complex_float_transform(). More...
 
template<typename DATA >
int forward (DATA &data, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_forward(). More...
 
template<typename DATA >
int backward (DATA &data, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_backward(). More...
 
template<typename DATA >
int inverse (DATA &data, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_inverse(). More...
 
template<typename DATA >
int transform (DATA &data, wavetable const &wavetable, workspace &work, fft::direction const sign)
 C++ version of gsl_fft_complex_float_transform(). More...
 
template<>
int forward (gsl::vector_complex_float &data, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_forward(). More...
 
template<>
int backward (gsl::vector_complex_float &data, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_backward(). More...
 
template<>
int inverse (gsl::vector_complex_float &data, wavetable const &wavetable, workspace &work)
 C++ version of gsl_fft_complex_float_inverse(). More...
 
template<>
int transform (gsl::vector_complex_float &data, wavetable const &wavetable, workspace &work, fft::direction const sign)
 C++ version of gsl_fft_complex_float_transform(). More...
 

Detailed Description

Complex fast Fourier transforms.

Function Documentation

◆ backward() [1/6]

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

C++ version of gsl_fft_complex_float_backward().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 971 of file fft_complex_float.hpp.

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

◆ backward() [2/6]

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

C++ version of gsl_fft_complex_float_backward().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1085 of file fft_complex_float.hpp.

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

◆ backward() [3/6]

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

C++ version of gsl_fft_complex_float_backward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 916 of file fft_complex_float.hpp.

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

◆ backward() [4/6]

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

C++ version of gsl_fft_complex_float_backward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
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 863 of file fft_complex_float.hpp.

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

◆ backward() [5/6]

template<>
int gsl::fft::complex_float::backward ( gsl::vector_complex_float data,
size_t const  stride,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_backward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1027 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::vector_complex_float::size().

◆ backward() [6/6]

template<>
int gsl::fft::complex_float::backward ( gsl::vector_complex_float data,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_backward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1137 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::vector_complex_float::size().

◆ forward() [1/6]

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

C++ version of gsl_fft_complex_float_forward().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 957 of file fft_complex_float.hpp.

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

◆ forward() [2/6]

template<typename DATA >
int gsl::fft::complex_float::forward ( DATA &  data,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_forward().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1072 of file fft_complex_float.hpp.

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

◆ forward() [3/6]

int gsl::fft::complex_float::forward ( gsl::complex_packed_array_float  data,
size_t const  n,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_forward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 904 of file fft_complex_float.hpp.

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

◆ forward() [4/6]

int gsl::fft::complex_float::forward ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_forward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
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 850 of file fft_complex_float.hpp.

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

◆ forward() [5/6]

template<>
int gsl::fft::complex_float::forward ( gsl::vector_complex_float data,
size_t const  stride,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_forward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1013 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::vector_complex_float::size().

◆ forward() [6/6]

template<>
int gsl::fft::complex_float::forward ( gsl::vector_complex_float data,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_forward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1124 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::vector_complex_float::size().

◆ inverse() [1/6]

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

C++ version of gsl_fft_complex_float_inverse().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 985 of file fft_complex_float.hpp.

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

◆ inverse() [2/6]

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

C++ version of gsl_fft_complex_float_inverse().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1098 of file fft_complex_float.hpp.

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

◆ inverse() [3/6]

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

C++ version of gsl_fft_complex_float_inverse().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 928 of file fft_complex_float.hpp.

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

◆ inverse() [4/6]

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

C++ version of gsl_fft_complex_float_inverse().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
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 876 of file fft_complex_float.hpp.

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

◆ inverse() [5/6]

template<>
int gsl::fft::complex_float::inverse ( gsl::vector_complex_float data,
size_t const  stride,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_inverse().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1041 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::vector_complex_float::size().

◆ inverse() [6/6]

template<>
int gsl::fft::complex_float::inverse ( gsl::vector_complex_float data,
wavetable const &  wavetable,
workspace work 
)
inline

C++ version of gsl_fft_complex_float_inverse().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
Returns
Error code on failure.

Definition at line 1150 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::vector_complex_float::size().

◆ transform() [1/6]

template<typename DATA >
int gsl::fft::complex_float::transform ( DATA &  data,
size_t const  stride,
wavetable const &  wavetable,
workspace work,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_transform().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 1000 of file fft_complex_float.hpp.

References gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::sign().

◆ transform() [2/6]

template<typename DATA >
int gsl::fft::complex_float::transform ( DATA &  data,
wavetable const &  wavetable,
workspace work,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_transform().

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

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 1112 of file fft_complex_float.hpp.

References gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), and gsl::sign().

◆ transform() [3/6]

int gsl::fft::complex_float::transform ( gsl::complex_packed_array_float  data,
size_t const  n,
wavetable const &  wavetable,
workspace work,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_transform().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 941 of file fft_complex_float.hpp.

References gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), gsl::rstat::n(), and gsl::sign().

◆ transform() [4/6]

int gsl::fft::complex_float::transform ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n,
wavetable const &  wavetable,
workspace work,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_transform().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
nThe size of the array.
wavetableA wavetable of size n.
workA workspace of size n.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 890 of file fft_complex_float.hpp.

References gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), gsl::rstat::n(), and gsl::sign().

◆ transform() [5/6]

template<>
int gsl::fft::complex_float::transform ( gsl::vector_complex_float data,
size_t const  stride,
wavetable const &  wavetable,
workspace work,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_transform().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
strideThe stride of the array.
wavetableA wavetable of size n.
workA workspace of size n.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 1056 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), gsl::sign(), and gsl::vector_complex_float::size().

◆ transform() [6/6]

template<>
int gsl::fft::complex_float::transform ( gsl::vector_complex_float data,
wavetable const &  wavetable,
workspace work,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_transform().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
wavetableA wavetable of size n.
workA workspace of size n.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 1164 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::fft::complex_float::wavetable::get(), gsl::fft::complex_float::workspace::get(), gsl::sign(), and gsl::vector_complex_float::size().