Structure for complex number. More...
#include <cwo_lib.h>
Public Member Functions | |
void | Re (const float a) |
void | Im (const float a) |
CWO_HOST_DEV cwoComplex & | operator= (const cwoComplex &a) |
CWO_HOST_DEV cwoComplex & | operator= (const float a) |
CWO_HOST_DEV cwoComplex & | operator+= (const cwoComplex &a) |
CWO_HOST_DEV cwoComplex & | operator+= (const float a) |
CWO_HOST_DEV cwoComplex & | operator-= (const cwoComplex &a) |
CWO_HOST_DEV cwoComplex & | operator-= (const float a) |
CWO_HOST_DEV cwoComplex & | operator*= (const cwoComplex &a) |
CWO_HOST_DEV cwoComplex & | operator*= (const float a) |
CWO_HOST_DEV cwoComplex & | operator/= (const cwoComplex &a) |
CWO_HOST_DEV cwoComplex & | operator/= (const float a) |
CWO_HOST_DEV const cwoComplex | operator+ (const cwoComplex &a) const |
CWO_HOST_DEV const cwoComplex | operator+ (const float a) const |
CWO_HOST_DEV const cwoComplex | operator- (const cwoComplex &a) const |
CWO_HOST_DEV const cwoComplex | operator- (const float a) const |
CWO_HOST_DEV const cwoComplex | operator* (const cwoComplex &a) const |
CWO_HOST_DEV const cwoComplex | operator* (const float a) const |
CWO_HOST_DEV const cwoComplex | operator/ (const cwoComplex &a) const |
CWO_HOST_DEV const cwoComplex | operator/ (const float a) const |
CWO_HOST_DEV cwoComplex | Conj () |
CWO_HOST_DEV float | Intensity () |
CWO_HOST_DEV cwoComplex | operator() (float re, float im) const |
Public Attributes | |
float | cplx [2] |
Structure for complex number.
This structure serves complex number and its operations.