#include <Complex.h>
Inherited by Cartesian< Value >, and Polar< Value >.
Inheritance diagram for Complex< Value >:
Public Member Functions | |
virtual void | getCartesian (Value &x, Value &y) const =0 |
virtual void | getPolar (Value &r, Value &phi) const =0 |
virtual void | setCartesian (const Value &x, const Value &y)=0 |
virtual void | setPolar (const Value &r, const Value &phi)=0 |
virtual Complex & | operator= (const Complex &)=0 |
Complex & | operator+= (const Complex &) |
Complex & | operator-= (const Complex &) |
Complex & | operator *= (const Value &) |
Complex & | operator *= (const Complex &) |
Complex & | operator/= (const Value &) |
Complex & | operator/= (const Complex &) |
const Complex & | operator+ (const Complex &) const |
const Complex & | operator- (const Complex &) const |
const Complex & | operator * (const Value &) const |
const Complex & | operator * (const Complex &) const |
const Complex & | operator/ (const Value &) const |
const Complex & | operator/ (const Complex &) const |
Protected Member Functions | |
Complex () | |
Complex (const Complex &) | |
Static Protected Member Functions | |
static void | cartesianToPolar (const Value &, const Value &, Value &, Value &) |
static void | polarToCartesian (const Value &, const Value &, Value &, Value &) |
virtual void Complex< Value >::getCartesian | ( | Value & | x, | |
Value & | y | |||
) | const [pure virtual] |
Implemented in Cartesian< Value >, and Polar< Value >.
virtual void Complex< Value >::getPolar | ( | Value & | r, | |
Value & | phi | |||
) | const [pure virtual] |
Implemented in Cartesian< Value >, and Polar< Value >.
virtual void Complex< Value >::setCartesian | ( | const Value & | x, | |
const Value & | y | |||
) | [pure virtual] |
Implemented in Cartesian< Value >, and Polar< Value >.
virtual void Complex< Value >::setPolar | ( | const Value & | r, | |
const Value & | phi | |||
) | [pure virtual] |
Implemented in Cartesian< Value >, and Polar< Value >.
virtual Complex& Complex< Value >::operator= | ( | const Complex< Value > & | ) | [pure virtual] |
Implemented in Cartesian< Value >, and Polar< Value >.
Complex< Value > & Complex< Value >::operator+= | ( | const Complex< Value > & | ) | [inline] |
Complex< Value > & Complex< Value >::operator-= | ( | const Complex< Value > & | ) | [inline] |
Complex< Value > & Complex< Value >::operator *= | ( | const Complex< Value > & | ) | [inline] |
Complex< Value > & Complex< Value >::operator/= | ( | const Complex< Value > & | ) | [inline] |
const Complex< Value > & Complex< Value >::operator+ | ( | const Complex< Value > & | ) | const [inline] |
const Complex< Value > & Complex< Value >::operator- | ( | const Complex< Value > & | ) | const [inline] |
const Complex< Value > & Complex< Value >::operator * | ( | const Value & | ) | const [inline] |
const Complex< Value > & Complex< Value >::operator * | ( | const Complex< Value > & | ) | const [inline] |
const Complex< Value > & Complex< Value >::operator/ | ( | const Value & | ) | const [inline] |
const Complex< Value > & Complex< Value >::operator/ | ( | const Complex< Value > & | ) | const [inline] |
void Complex< Value >::cartesianToPolar | ( | const Value & | , | |
const Value & | , | |||
Value & | , | |||
Value & | ||||
) | [inline, static, protected] |
void Complex< Value >::polarToCartesian | ( | const Value & | , | |
const Value & | , | |||
Value & | , | |||
Value & | ||||
) | [inline, static, protected] |