This is a wrapper class for a complex number. More...
#include <FFTWComplex.h>
Public Member Functions | |
~FFTWComplex () | |
Default constructor. | |
FFTWComplex (double real, double imag=0) | |
FFTWComplex (const std::complex< double > &c) | |
FFTWComplex | operator* (const FFTWComplex &rhs) |
FFTWComplex & | operator*= (const FFTWComplex &rhs) |
FFTWComplex | operator+ (const FFTWComplex &rhs) |
FFTWComplex & | operator+= (const FFTWComplex &rhs) |
FFTWComplex | operator- (const FFTWComplex &rhs) |
FFTWComplex & | operator-= (const FFTWComplex &rhs) |
FFTWComplex | operator/ (const FFTWComplex &rhs) |
FFTWComplex & | operator/= (const FFTWComplex &rhs) |
void | setMagPhase (double mag, double phase) |
double | getAbs () const |
double | getAbsSq () const |
double | getPhase () const |
operator std::complex< double > () | |
FFTWComplex | conj () const |
Public Attributes | |
double | re |
Destructor. More... | |
double | im |
The imaginary part. | |
This is a wrapper class for a complex number.
And that's it.
Definition at line 12 of file FFTWComplex.h.
|
inline |
Constructor from std::complex
Definition at line 23 of file FFTWComplex.h.
double FFTWComplex::re |