Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::complex< T > Class Template Reference

Spuc template complex class. Basically the same as STL complex class but allows easier customization. More...

#include <complex.h>

Collaboration diagram for SPUC::complex< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 complex ()
void * operator new (size_t)
 complex (T r, T i)
 complex (T r)
real ()
imag ()
operator= (T r)
complex operator= (const complex< T > &y)
complex operator *= (const complex< T > &y)
complex operator+= (const complex< T > &y)
complex operator-= (const complex< T > &y)

Public Attributes

re
im

Friends

real (complex< T > y)
imag (complex< T > y)

Detailed Description

template<class T>
class SPUC::complex< T >

Spuc template complex class. Basically the same as STL complex class but allows easier customization.


Constructor & Destructor Documentation

template<class T>
SPUC::complex< T >::complex  )  [inline]
 

template<class T>
SPUC::complex< T >::complex r,
i
[inline]
 

template<class T>
SPUC::complex< T >::complex r  )  [inline]
 


Member Function Documentation

template<class T>
T SPUC::complex< T >::imag  )  [inline]
 

template<class T>
complex SPUC::complex< T >::operator *= const complex< T > &  y  )  [inline]
 

template<class T>
void* SPUC::complex< T >::operator new size_t   )  [inline]
 

template<class T>
complex SPUC::complex< T >::operator+= const complex< T > &  y  )  [inline]
 

template<class T>
complex SPUC::complex< T >::operator-= const complex< T > &  y  )  [inline]
 

template<class T>
complex SPUC::complex< T >::operator= const complex< T > &  y  )  [inline]
 

template<class T>
T SPUC::complex< T >::operator= r  )  [inline]
 

template<class T>
T SPUC::complex< T >::real  )  [inline]
 


Friends And Related Function Documentation

template<class T>
T imag complex< T >  y  )  [friend]
 

template<class T>
T real complex< T >  y  )  [friend]
 


Member Data Documentation

template<class T>
T SPUC::complex< T >::im
 

template<class T>
T SPUC::complex< T >::re
 


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:08:40 2005 for spuc by  doxygen 1.4.4