#include <complex.h>
Public Member Functions | |
numeric | abs () const |
Complex (const Complex &other) | |
Complex (numeric r=0, numeric i=0) | |
Complex | conj () const |
void | imag (numeric i) |
numeric | imag () const |
bool | operator!= (const Complex &other) |
Complex | operator* (const Complex &other) |
Complex & | operator*= (const Complex &other) |
Complex | operator+ (const Complex &other) |
Complex & | operator+= (const Complex &other) |
Complex | operator- (const Complex &other) |
Complex & | operator-= (const Complex &other) |
Complex | operator/ (const Complex &other) |
Complex & | operator/= (const Complex &other) |
bool | operator< (const Complex &other) |
bool | operator<= (const Complex &other) |
Complex & | operator= (const Complex &other) |
bool | operator== (const Complex &other) |
bool | operator> (const Complex &other) |
bool | operator>= (const Complex &other) |
void | real (numeric r) |
numeric | real () const |
~Complex () |
Referenced by operator*(), operator+(), operator-(), and operator/().
Falcon::Complex::Complex | ( | const Complex & | other | ) | [inline] |
Falcon::Complex::~Complex | ( | ) | [inline] |
numeric Falcon::Complex::abs | ( | ) | const |
Complex Falcon::Complex::conj | ( | ) | const |
void Falcon::Complex::imag | ( | numeric | i | ) | [inline] |
numeric Falcon::Complex::imag | ( | ) | const [inline] |
void Falcon::Complex::real | ( | numeric | r | ) | [inline] |
numeric Falcon::Complex::real | ( | ) | const [inline] |