@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, 2003 Eggs & Pictures. MIT/Open BSD copyright model.
|
Public Methods |
| FComplex () |
| FComplex (float real, float img=0.0) |
| FComplex (float root, float theta, int sign) |
| FComplex (const FComplex &x) |
FComplex & | operator= (const FComplex &x) |
| ~FComplex () |
float | getReal () |
float | getImg () |
double | getRoot () |
double | getAbs () |
double | getArg () |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator *= (float value) |
void | operator/= (float value) |
void | operator+= (const FComplex &v) |
void | operator-= (const FComplex &v) |
void | operator *= (const FComplex &v) |
void | operator/= (const FComplex &v) |
void | output () |
void | output (FILE *file) |
Public Attributes |
float | a |
float | b |
FComplex | conjugate () |
FComplex | sqr () |
Friends |
FComplex | operator+ (const FComplex &v, float a) |
FComplex | operator+ (float a, const FComplex &v) |
FComplex | operator- (const FComplex &v, float a) |
FComplex | operator- (float a, const FComplex &v) |
FComplex | operator * (const FComplex &v, float a) |
FComplex | operator * (float a, const FComplex &v) |
FComplex | operator/ (const FComplex &v, float a) |
FComplex | operator+ (const FComplex &v1, const FComplex &v2) |
FComplex | operator- (const FComplex &v1, const FComplex &v2) |
FComplex | operator * (const FComplex &v1, const FComplex &v2) |
FComplex | operator/ (const FComplex &v1, const FComplex &v2) |