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

Radix 2 transforms. More...

Functions

int forward (gsl::complex_packed_array_float data, size_t const stride, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_forward(). More...
 
int backward (gsl::complex_packed_array_float data, size_t const stride, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_backward(). More...
 
int inverse (gsl::complex_packed_array_float data, size_t const stride, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_inverse(). More...
 
int transform (gsl::complex_packed_array_float data, size_t const stride, size_t const n, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_transform(). More...
 
int dif_forward (gsl::complex_packed_array_float data, size_t const stride, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_dif_forward(). More...
 
int dif_backward (gsl::complex_packed_array_float data, size_t const stride, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_dif_backward(). More...
 
int dif_inverse (gsl::complex_packed_array_float data, size_t const stride, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_dif_inverse(). More...
 
int dif_transform (gsl::complex_packed_array_float data, size_t const stride, size_t const n, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_dif_transform(). More...
 
int forward (gsl::complex_packed_array_float data, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_forward(). More...
 
int backward (gsl::complex_packed_array_float data, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_backward(). More...
 
int inverse (gsl::complex_packed_array_float data, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_inverse(). More...
 
int transform (gsl::complex_packed_array_float data, size_t const n, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_transform(). More...
 
int dif_forward (gsl::complex_packed_array_float data, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_dif_forward(). More...
 
int dif_backward (gsl::complex_packed_array_float data, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_dif_backward(). More...
 
int dif_inverse (gsl::complex_packed_array_float data, size_t const n)
 C++ version of gsl_fft_complex_float_radix2_dif_inverse(). More...
 
int dif_transform (gsl::complex_packed_array_float data, size_t const n, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_dif_transform(). More...
 
template<typename DATA >
int forward (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_float_radix2_forward(). More...
 
template<typename DATA >
int backward (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_float_radix2_backward(). More...
 
template<typename DATA >
int inverse (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_float_radix2_inverse(). More...
 
template<typename DATA >
int transform (DATA &data, size_t const stride, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_transform(). More...
 
template<typename DATA >
int transform (DATA &data, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_transform(). More...
 
template<typename DATA >
int dif_forward (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_float_radix2_dif_forward(). More...
 
template<typename DATA >
int dif_backward (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_float_radix2_dif_backward(). More...
 
template<typename DATA >
int dif_inverse (DATA &data, size_t const stride=1)
 C++ version of gsl_fft_complex_float_radix2_dif_inverse(). More...
 
template<typename DATA >
int dif_transform (DATA &data, size_t const stride, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_dif_transform(). More...
 
template<typename DATA >
int dif_transform (DATA &data, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_dif_transform(). More...
 
template<>
int forward (gsl::vector_complex_float &data, size_t const stride)
 C++ version of gsl_fft_complex_float_radix2_forward(). More...
 
template<>
int backward (gsl::vector_complex_float &data, size_t const stride)
 C++ version of gsl_fft_complex_float_radix2_backward(). More...
 
template<>
int inverse (gsl::vector_complex_float &data, size_t const stride)
 C++ version of gsl_fft_complex_float_radix2_inverse(). More...
 
template<>
int transform (gsl::vector_complex_float &data, size_t const stride, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_transform(). More...
 
int forward (gsl::vector_complex_float &data)
 C++ version of gsl_fft_complex_float_radix2_forward(). More...
 
int backward (gsl::vector_complex_float &data)
 C++ version of gsl_fft_complex_float_radix2_backward(). More...
 
int inverse (gsl::vector_complex_float &data)
 C++ version of gsl_fft_complex_float_radix2_inverse(). More...
 
int transform (gsl::vector_complex_float &data, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_transform(). More...
 
int dif_forward (gsl::vector_complex_float &data)
 C++ version of gsl_fft_complex_float_radix2_dif_forward(). More...
 
int dif_backward (gsl::vector_complex_float &data)
 C++ version of gsl_fft_complex_float_radix2_dif_backward(). More...
 
int dif_inverse (gsl::vector_complex_float &data)
 C++ version of gsl_fft_complex_float_radix2_dif_inverse(). More...
 
int dif_transform (gsl::vector_complex_float &data, fft::direction const sign)
 C++ version of gsl_fft_complex_float_radix2_dif_transform(). More...
 

Detailed Description

Radix 2 transforms.

Function Documentation

◆ backward() [1/5]

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

C++ version of gsl_fft_complex_float_radix2_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.
Returns
Error code on failure.

Definition at line 218 of file fft_complex_float.hpp.

◆ backward() [2/5]

int gsl::fft::complex_float::radix2::backward ( gsl::complex_packed_array_float  data,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_backward().

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

Definition at line 138 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ backward() [3/5]

int gsl::fft::complex_float::radix2::backward ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_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.
Returns
Error code on failure.

Definition at line 55 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ backward() [4/5]

int gsl::fft::complex_float::radix2::backward ( gsl::vector_complex_float data)
inline

C++ version of gsl_fft_complex_float_radix2_backward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
Returns
Error code on failure.

Definition at line 366 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ backward() [5/5]

template<>
int gsl::fft::complex_float::radix2::backward ( gsl::vector_complex_float data,
size_t const  stride 
)
inline

C++ version of gsl_fft_complex_float_radix2_backward().

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

Definition at line 327 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ dif_backward() [1/4]

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

C++ version of gsl_fft_complex_float_radix2_dif_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.
Returns
Error code on failure.

Definition at line 274 of file fft_complex_float.hpp.

◆ dif_backward() [2/4]

int gsl::fft::complex_float::radix2::dif_backward ( gsl::complex_packed_array_float  data,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_backward().

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

Definition at line 176 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ dif_backward() [3/4]

int gsl::fft::complex_float::radix2::dif_backward ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_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.
Returns
Error code on failure.

Definition at line 97 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ dif_backward() [4/4]

int gsl::fft::complex_float::radix2::dif_backward ( gsl::vector_complex_float data)
inline

C++ version of gsl_fft_complex_float_radix2_dif_backward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
Returns
Error code on failure.

Definition at line 400 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ dif_forward() [1/4]

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

C++ version of gsl_fft_complex_float_radix2_dif_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.
Returns
Error code on failure.

Definition at line 263 of file fft_complex_float.hpp.

◆ dif_forward() [2/4]

int gsl::fft::complex_float::radix2::dif_forward ( gsl::complex_packed_array_float  data,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_forward().

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

Definition at line 167 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ dif_forward() [3/4]

int gsl::fft::complex_float::radix2::dif_forward ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_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.
Returns
Error code on failure.

Definition at line 87 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ dif_forward() [4/4]

int gsl::fft::complex_float::radix2::dif_forward ( gsl::vector_complex_float data)
inline

C++ version of gsl_fft_complex_float_radix2_dif_forward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
Returns
Error code on failure.

Definition at line 392 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ dif_inverse() [1/4]

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

C++ version of gsl_fft_complex_float_radix2_dif_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.
Returns
Error code on failure.

Definition at line 285 of file fft_complex_float.hpp.

◆ dif_inverse() [2/4]

int gsl::fft::complex_float::radix2::dif_inverse ( gsl::complex_packed_array_float  data,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_inverse().

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

Definition at line 185 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ dif_inverse() [3/4]

int gsl::fft::complex_float::radix2::dif_inverse ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_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.
Returns
Error code on failure.

Definition at line 107 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ dif_inverse() [4/4]

int gsl::fft::complex_float::radix2::dif_inverse ( gsl::vector_complex_float data)
inline

C++ version of gsl_fft_complex_float_radix2_dif_inverse().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
Returns
Error code on failure.

Definition at line 408 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ dif_transform() [1/5]

template<typename DATA >
int gsl::fft::complex_float::radix2::dif_transform ( DATA &  data,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_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.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 308 of file fft_complex_float.hpp.

References gsl::sign().

◆ dif_transform() [2/5]

template<typename DATA >
int gsl::fft::complex_float::radix2::dif_transform ( DATA &  data,
size_t const  stride,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_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.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 297 of file fft_complex_float.hpp.

References gsl::sign().

◆ dif_transform() [3/5]

int gsl::fft::complex_float::radix2::dif_transform ( gsl::complex_packed_array_float  data,
size_t const  n,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_transform().

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

Definition at line 195 of file fft_complex_float.hpp.

References gsl::rstat::n(), and gsl::sign().

◆ dif_transform() [4/5]

int gsl::fft::complex_float::radix2::dif_transform ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_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.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 118 of file fft_complex_float.hpp.

References gsl::rstat::n(), and gsl::sign().

◆ dif_transform() [5/5]

int gsl::fft::complex_float::radix2::dif_transform ( gsl::vector_complex_float data,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_dif_transform().

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

Definition at line 417 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::sign(), and gsl::vector_complex_float::size().

◆ forward() [1/5]

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

C++ version of gsl_fft_complex_float_radix2_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.
Returns
Error code on failure.

Definition at line 207 of file fft_complex_float.hpp.

◆ forward() [2/5]

int gsl::fft::complex_float::radix2::forward ( gsl::complex_packed_array_float  data,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_forward().

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

Definition at line 129 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ forward() [3/5]

int gsl::fft::complex_float::radix2::forward ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_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.
Returns
Error code on failure.

Definition at line 45 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ forward() [4/5]

int gsl::fft::complex_float::radix2::forward ( gsl::vector_complex_float data)
inline

C++ version of gsl_fft_complex_float_radix2_forward().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
Returns
Error code on failure.

Definition at line 358 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ forward() [5/5]

template<>
int gsl::fft::complex_float::radix2::forward ( gsl::vector_complex_float data,
size_t const  stride 
)
inline

C++ version of gsl_fft_complex_float_radix2_forward().

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

Definition at line 317 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ inverse() [1/5]

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

C++ version of gsl_fft_complex_float_radix2_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.
Returns
Error code on failure.

Definition at line 229 of file fft_complex_float.hpp.

◆ inverse() [2/5]

int gsl::fft::complex_float::radix2::inverse ( gsl::complex_packed_array_float  data,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_inverse().

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

Definition at line 147 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ inverse() [3/5]

int gsl::fft::complex_float::radix2::inverse ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n 
)
inline

C++ version of gsl_fft_complex_float_radix2_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.
Returns
Error code on failure.

Definition at line 65 of file fft_complex_float.hpp.

References gsl::rstat::n().

◆ inverse() [4/5]

int gsl::fft::complex_float::radix2::inverse ( gsl::vector_complex_float data)
inline

C++ version of gsl_fft_complex_float_radix2_inverse().

Parameters
dataAn array of complex_float values packed as an array of double length of floats.
Returns
Error code on failure.

Definition at line 374 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ inverse() [5/5]

template<>
int gsl::fft::complex_float::radix2::inverse ( gsl::vector_complex_float data,
size_t const  stride 
)
inline

C++ version of gsl_fft_complex_float_radix2_inverse().

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

Definition at line 337 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), and gsl::vector_complex_float::size().

◆ transform() [1/6]

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

C++ version of gsl_fft_complex_float_radix2_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.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 252 of file fft_complex_float.hpp.

References gsl::sign().

◆ transform() [2/6]

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

C++ version of gsl_fft_complex_float_radix2_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.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 241 of file fft_complex_float.hpp.

References gsl::sign().

◆ transform() [3/6]

int gsl::fft::complex_float::radix2::transform ( gsl::complex_packed_array_float  data,
size_t const  n,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_transform().

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

Definition at line 157 of file fft_complex_float.hpp.

References gsl::rstat::n(), and gsl::sign().

◆ transform() [4/6]

int gsl::fft::complex_float::radix2::transform ( gsl::complex_packed_array_float  data,
size_t const  stride,
size_t const  n,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_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.
signfft::forward or fft::backward.
Returns
Error code on failure.

Definition at line 76 of file fft_complex_float.hpp.

References gsl::rstat::n(), and gsl::sign().

◆ transform() [5/6]

int gsl::fft::complex_float::radix2::transform ( gsl::vector_complex_float data,
fft::direction const  sign 
)
inline

C++ version of gsl_fft_complex_float_radix2_transform().

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

Definition at line 383 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::sign(), and gsl::vector_complex_float::size().

◆ transform() [6/6]

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

C++ version of gsl_fft_complex_float_radix2_transform().

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

Definition at line 348 of file fft_complex_float.hpp.

References gsl::vector_complex_float::data(), gsl::sign(), and gsl::vector_complex_float::size().