Complex< Value > Class Template Reference

#include <Complex.h>

Inherited by Cartesian< Value >, and Polar< Value >.

Inheritance diagram for Complex< Value >:

Inheritance graph
[legend]
List of all members.

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 Complexoperator= (const Complex &)=0
Complexoperator+= (const Complex &)
Complexoperator-= (const Complex &)
Complexoperator *= (const Value &)
Complexoperator *= (const Complex &)
Complexoperator/= (const Value &)
Complexoperator/= (const Complex &)
const Complexoperator+ (const Complex &) const
const Complexoperator- (const Complex &) const
const Complexoperator * (const Value &) const
const Complexoperator * (const Complex &) const
const Complexoperator/ (const Value &) const
const Complexoperator/ (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 &)

template<class Value>
class Complex< Value >


Constructor & Destructor Documentation

template<class Value>
Complex< Value >::Complex (  )  [inline, protected]

template<class Value>
Complex< Value >::Complex ( const Complex< Value > &   )  [inline, protected]


Member Function Documentation

template<class Value>
virtual void Complex< Value >::getCartesian ( Value &  x,
Value &  y 
) const [pure virtual]

Implemented in Cartesian< Value >, and Polar< Value >.

template<class Value>
virtual void Complex< Value >::getPolar ( Value &  r,
Value &  phi 
) const [pure virtual]

Implemented in Cartesian< Value >, and Polar< Value >.

template<class Value>
virtual void Complex< Value >::setCartesian ( const Value &  x,
const Value &  y 
) [pure virtual]

Implemented in Cartesian< Value >, and Polar< Value >.

template<class Value>
virtual void Complex< Value >::setPolar ( const Value &  r,
const Value &  phi 
) [pure virtual]

Implemented in Cartesian< Value >, and Polar< Value >.

template<class Value>
virtual Complex& Complex< Value >::operator= ( const Complex< Value > &   )  [pure virtual]

Implemented in Cartesian< Value >, and Polar< Value >.

template<class Value>
Complex< Value > & Complex< Value >::operator+= ( const Complex< Value > &   )  [inline]

template<class Value>
Complex< Value > & Complex< Value >::operator-= ( const Complex< Value > &   )  [inline]

template<class Value>
Complex< Value > & Complex< Value >::operator *= ( const Value &   )  [inline]

template<class Value>
Complex< Value > & Complex< Value >::operator *= ( const Complex< Value > &   )  [inline]

template<class Value>
Complex< Value > & Complex< Value >::operator/= ( const Value &   )  [inline]

template<class Value>
Complex< Value > & Complex< Value >::operator/= ( const Complex< Value > &   )  [inline]

template<class Value>
const Complex< Value > & Complex< Value >::operator+ ( const Complex< Value > &   )  const [inline]

template<class Value>
const Complex< Value > & Complex< Value >::operator- ( const Complex< Value > &   )  const [inline]

template<class Value>
const Complex< Value > & Complex< Value >::operator * ( const Value &   )  const [inline]

template<class Value>
const Complex< Value > & Complex< Value >::operator * ( const Complex< Value > &   )  const [inline]

template<class Value>
const Complex< Value > & Complex< Value >::operator/ ( const Value &   )  const [inline]

template<class Value>
const Complex< Value > & Complex< Value >::operator/ ( const Complex< Value > &   )  const [inline]

template<class Value>
void Complex< Value >::cartesianToPolar ( const Value &  ,
const Value &  ,
Value &  ,
Value &   
) [inline, static, protected]

template<class Value>
void Complex< Value >::polarToCartesian ( const Value &  ,
const Value &  ,
Value &  ,
Value &   
) [inline, static, protected]


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 00:31:51 2007 for ARGL by  doxygen 1.5.2