[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
FFTWComplex Class Reference | ![]() |
---|
Wrapper class for the FFTW type 'fftw_complex
'.
More...
#include "vigra/fftw3.hxx"
Public Types | |
typedef fftw_real | value_type |
typedef fftw_real & | reference |
typedef fftw_real const & | const_reference |
typedef fftw_real * | iterator |
typedef fftw_real const * | const_iterator |
typedef fftw_real | NormType |
typedef fftw_real | SquaredNormType |
typedef fftw_real | value_type |
typedef fftw_real & | reference |
typedef fftw_real const & | const_reference |
typedef fftw_real * | iterator |
typedef fftw_real const * | const_iterator |
typedef fftw_real | NormType |
typedef fftw_real | SquaredNormType |
Public Methods | |
FFTWComplex (value_type const &ire=0.0, value_type const &iim=0.0) | |
FFTWComplex (FFTWComplex const &o) | |
FFTWComplex (fftw_complex const &o) | |
template<class T> | FFTWComplex (TinyVector< T, 2 > const &o) |
FFTWComplex & | operator= (FFTWComplex const &o) |
FFTWComplex & | operator= (fftw_complex const &o) |
FFTWComplex & | operator= (fftw_real const &o) |
template<class T> FFTWComplex & | operator= (TinyVector< T, 2 > const &o) |
FFTWComplex | operator- () const |
SquaredNormType | squaredMagnitude () const |
NormType | magnitude () const |
value_type | phase () const |
reference | operator[] (int i) |
const_reference | operator[] (int i) const |
int | size () const |
FFTWComplex (value_type const &re=0.0, value_type const &im=0.0) | |
FFTWComplex (FFTWComplex const &o) | |
FFTWComplex (fftw_complex const &o) | |
template<class T> | FFTWComplex (TinyVector< T, 2 > const &o) |
FFTWComplex & | operator= (FFTWComplex const &o) |
FFTWComplex & | operator= (fftw_complex const &o) |
FFTWComplex & | operator= (fftw_real const &o) |
template<class T> FFTWComplex & | operator= (TinyVector< T, 2 > const &o) |
FFTWComplex | operator- () const |
SquaredNormType | squaredMagnitude () const |
NormType | magnitude () const |
value_type | phase () const |
reference | operator[] (int i) |
const_reference | operator[] (int i) const |
int | size () const |
Detailed Description |
fftw_complex
'.
This class provides constructors and other member functions for the C struct 'fftw_complex
'. This struct is the basic pixel type of the FFTW Fast Fourier Transform library. It inherits the data members 're
' and 'im
' that denote the real and imaginary part of the number. In addition it defines transformations to polar coordinates, as well as arithmetic operators and accessors.
FFTWComplex implements the concepts AlgebraicField and DivisionAlgebra. The standard image types FFTWRealImage
and FFTWComplexImage
are defined.
See also:
#include "vigra/fftw3.hxx" (for FFTW 3) or
|
const iterator type (result of begin() const) |
|
const iterator type (result of begin() const) |
|
const reference type (result of operator[] const) |
|
const reference type (result of operator[] const) |
|
iterator type (result of begin() ) |
|
iterator type (result of begin() ) |
|
The norm type (result of magnitde()) |
|
The norm type (result of magnitde()) |
|
reference type (result of operator[]) |
|
reference type (result of operator[]) |
|
The squared norm type (result of squaredMagnitde()) |
|
The squared norm type (result of squaredMagnitde()) |
|
The complex' component type, as defined in ' |
|
The complex' component type, as defined in ' |
|
Construct from real and imaginary part. Default: 0. |
|
Copy constructor. |
|
Construct from plain |
|
Construct from TinyVector. |
|
Construct from real and imaginary part. Default: 0. |
|
Copy constructor. |
|
Construct from plain |
|
Construct from TinyVector. |
|
Magnitude (length of radius vector). |
|
Magnitude (length of radius vector). |
|
Unary negation. |
|
Unary negation. |
|
Assignment. |
|
Assignment. |
|
Assignment. |
|
Assignment. |
|
Assignment. |
|
Assignment. |
|
Assignment. |
|
Assignment. |
|
Read components as if number were a vector. |
|
Access components as if number were a vector. |
|
Read components as if number were a vector. |
|
Access components as if number were a vector. |
|
Phase angle. |
|
Phase angle. |
|
Length of complex number (always 2). |
|
Length of complex number (always 2). |
|
Squared magnitude x*conj(x) |
|
Squared magnitude x*conj(x) |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|