SoftSUSY is hosted by Hepforge, IPPP Durham
SOFTSUSY  4.1
Complex Class Reference

drop-in replacement for the original home-grown Complex class More...

#include <mycomplex.h>

Inheritance diagram for Complex:

Public Member Functions

 Complex (double r=0.0, double i=0.0)
 General constructor.
 
 Complex (const std::complex< double > &cc)
 Constructor from C++ standard complex class.
 
double mod () const
 returns modulus of number
 
double arg () const
 returns angle (in Argand diagram): theta=-pi->pi
 
Complex conj () const
 Complex conjugate.
 
Complex cc () const
 Complex conjugate.
 
bool operator>= (const Complex &a) const
 
bool operator< (const Complex &b) const
 

Detailed Description

drop-in replacement for the original home-grown Complex class

Member Function Documentation

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

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 file: