SOFTSUSY
4.1
|
drop-in replacement for the original home-grown Complex class More...
#include <mycomplex.h>
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 |
drop-in replacement for the original home-grown Complex class
|
inline |
Returns true if either real part or imaginary part is bigger than relevant bit of a