#include <ckcomplex.h>
Public Member Functions | |
ckcomplex (RealType _re=0., RealType _im=0.) | |
~ckcomplex () | |
RealType | getMagSqr (void) const |
ckcomplex | operator+ (ckcomplex a) |
ckcomplex | conj (void) |
void | operator+= (ckcomplex a) |
ckcomplex | operator* (RealType a) |
bool | notzero () const |
void | operator*= (ckcomplex a) |
ckcomplex | operator* (ckcomplex a) |
void | operator-= (ckcomplex a) |
ckcomplex | multiplyByi () |
void * | operator new[] (size_t size) |
void | operator delete[] (void *buf) |
Data Fields | |
RealType | re |
RealType | im |
Friends | |
ckcomplex | operator- (ckcomplex lhs, ckcomplex rhs) |
ckcomplex | operator* (RealType lhs, ckcomplex rhs) |
ckcomplex | operator/ (ckcomplex lhs, RealType rhs) |
std::ostream & | operator<< (std::ostream &out, const ckcomplex &aNum) |
Definition at line 16 of file ckcomplex.h.
Definition at line 21 of file ckcomplex.h.
Referenced by conj(), multiplyByi(), operator*(), and operator+().
ckcomplex::~ckcomplex | ( | ) | [inline] |
Definition at line 25 of file ckcomplex.h.
RealType ckcomplex::getMagSqr | ( | void | ) | const [inline] |
Definition at line 31 of file ckcomplex.h.
References ckcomplex(), im, and re.
ckcomplex ckcomplex::conj | ( | void | ) | [inline] |
Definition at line 40 of file ckcomplex.h.
References ckcomplex(), im, and re.
void ckcomplex::operator+= | ( | ckcomplex | a | ) | [inline] |
Definition at line 57 of file ckcomplex.h.
References ckcomplex(), im, and re.
bool ckcomplex::notzero | ( | ) | const [inline] |
void ckcomplex::operator*= | ( | ckcomplex | a | ) | [inline] |
Definition at line 71 of file ckcomplex.h.
References ckcomplex(), im, and re.
void ckcomplex::operator-= | ( | ckcomplex | a | ) | [inline] |
ckcomplex ckcomplex::multiplyByi | ( | ) | [inline] |
Definition at line 81 of file ckcomplex.h.
References ckcomplex(), im, and re.
void* ckcomplex::operator new[] | ( | size_t | size | ) | [inline] |
void ckcomplex::operator delete[] | ( | void * | buf | ) | [inline] |
Definition at line 90 of file ckcomplex.h.
References free().
Definition at line 36 of file ckcomplex.h.
Definition at line 49 of file ckcomplex.h.
Definition at line 53 of file ckcomplex.h.
std::ostream& operator<< | ( | std::ostream & | out, | |
const ckcomplex & | aNum | |||
) | [friend] |
Definition at line 94 of file ckcomplex.h.
Definition at line 17 of file ckcomplex.h.
Referenced by NormalSlabArray::acceptDataForIFFT(), conj(), getMagSqr(), multiplyByi(), norm(), notzero(), operator*(), operator*=(), operator+(), operator+=(), and operator-=().
Definition at line 18 of file ckcomplex.h.
Referenced by NormalSlabArray::acceptDataForIFFT(), conj(), getMagSqr(), multiplyByi(), norm(), notzero(), operator*(), operator*=(), operator+(), operator+=(), and operator-=().