Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members

Doubleprecision complex. More...
#include <FXComplexd.h>
Public Member Functions  
FXComplexd ()  
Default constructor; value is not initialized.  
FXComplexd (FXdouble r)  
Construct from real.  
FXComplexd (FXdouble r, FXdouble i)  
Construct from components.  
FXComplexd (const FXComplexd &c)  
Initialize from another complex.  
FXComplexd &  set (FXdouble r) 
Set value from real.  
FXComplexd &  set (FXdouble r, FXdouble i) 
Set value from components.  
FXComplexd &  set (const FXComplexd &c) 
Set value from another complex.  
FXbool  operator! () const 
Test if zero.  
FXdouble &  real () 
Access real part.  
const FXdouble &  real () const 
FXdouble &  imag () 
Access imaginary part.  
const FXdouble &  imag () const 
FXdouble  modulus2 () const 
Squared modulus.  
FXdouble  modulus () const 
Modulus or absolute value of complex.  
FXdouble  argument () const 
Argument of complex.  
FXdouble &  operator[] (FXint i) 
Return a nonconst reference to the ith element.  
const FXdouble &  operator[] (FXint i) const 
Return a const reference to the ith element.  
FXComplexd  operator+ () const 
Unary.  
FXComplexd  operator () const 
FXComplexd &  operator= (const FXdouble r) 
Assignment from real.  
FXComplexd &  operator= (const FXComplexd &c) 
Assignment from another complex.  
FXComplexd &  operator+= (FXdouble r) 
Assigning operators with real.  
FXComplexd &  operator= (FXdouble r) 
FXComplexd &  operator*= (FXdouble r) 
FXComplexd &  operator/= (FXdouble r) 
FXComplexd &  operator+= (const FXComplexd &c) 
Assigning operators with another complex.  
FXComplexd &  operator= (const FXComplexd &c) 
FXComplexd &  operator*= (const FXComplexd &c) 
FXComplexd &  operator/= (const FXComplexd &c) 
~FXComplexd ()  
Destructor.  
Public Attributes  
FXdouble  re 
FXdouble  im 
Doubleprecision complex.
Copyright © 19972020 Jeroen van der Zijp 