My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::Complex< Type > Class Template Reference

Classes

struct  Data
 

Public Member Functions

 Complex (Type real, Type imag)
 
 Complex (std::complex< Type > cVal)
 
 Complex (Data &data)
 
 Complex (const Complex< Type > &complx)
 
virtual ~Complex ()
 
void setReal (Type real)
 
void setImag (Type imag)
 
Type real ()
 
Type imag ()
 
double amp ()
 
double amplitude ()
 
double squaredAmplitude () const
 
Complex< Type > conjugate () const
 
double phaseInRadians ()
 
double phaseInDegrees ()
 
void initialize ()
 
void operator= (Data &data)
 
void operator= (const Complex< Type > &cmplx)
 
void operator+= (const Complex< Type > &cmplx)
 
void operator-= (const Complex< Type > &cmplx)
 
Complex< Type > operator+ (const Complex< Type > &cmplx)
 
Complex< Type > operator- (const Complex< Type > &cmplx)
 
Complex< Type > operator* (const Complex< Type > &cmplx)
 
Complex< Type > operator/ (const Complex< Type > &cmplx)
 
Complex< Type > operator/ (unsigned int divisor)
 
Complex< Type > operator/ (double divisor)
 
bool operator== (Complex< Type > &comp)
 
bool operator> (Complex< Type > &comp)
 
bool operator>= (Complex< Type > &comp)
 
bool operator< (Complex< Type > &comp)
 
bool operator<= (Complex< Type > &comp)
 
Datadata ()
 

Friends

std::ostream & gcp::util::operator<< (std::ostream &os, Complex< Type > &val)
 
std::ostringstream & gcp::util::operator<< (std::ostringstream &os, Complex< Type > &val)
 

Constructor & Destructor Documentation

template<class Type>
gcp::util::Complex< Type >::Complex ( Type  real,
Type  imag 
)
inline

Constructors

template<class Type>
virtual gcp::util::Complex< Type >::~Complex ( )
inlinevirtual

Destructor.


The documentation for this class was generated from the following file: