Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Complex Class Reference

"Home-grown" complex class with some complex algebra included More...

#include <mycomplex.h>

List of all members.

Public Member Functions

 Complex (const Complex &cc)
 Constructor, setting equal to another Complex number.
const Complexoperator= (const Complex &s)
 Sets contents equal to another Complex number.
double real () const
 returns real part
double imag () const
 returns imaginary part
void setRe (double a)
 sets real part
void setIm (double a)
 sets imaginary part
double mod () const
 returns modulus of number
double arg () const
 returns angle (in Argand diagram): theta=-pi->pi
Complex conj () const
 Complex conjugate.
bool operator>= (const Complex &a) const
Complex cc () const
 Complex conjugate.


Detailed Description

"Home-grown" complex class with some complex algebra included


Member Function Documentation

bool Complex::operator>= const Complex a  )  const
 

Returns true if either real part or imaginary part is bigger than relevant bit of a


The documentation for this class was generated from the following files:
Generated on Fri Aug 26 16:37:13 2005 for SOFTSUSY by  doxygen 1.3.9.1