The SUMO toolbox
2018a

Complex implements a complex number and defines complex arithmetic and mathematical functions. More...
Public Member Functions  
Complex (double u, double v)  
Constructs the complex number z = u + i*v. More...  
double  real () 
Real part of this Complex number (the xcoordinate in rectangular coordinates). More...  
double  imag () 
Imaginary part of this Complex number (the ycoordinate in rectangular coordinates). More...  
double  mod () 
Modulus of this Complex number (the distance from the origin in polar coordinates). More...  
double  arg () 
Argument of this Complex number (the angle in radians with the xaxis in polar coordinates). More...  
Complex  conj () 
Complex conjugate of this Complex number (the conjugate of x+i*y is xi*y). More...  
Complex  plus (Complex w) 
Addition of Complex numbers (doesn't change this Complex number). More...  
Complex  minus (Complex w) 
Subtraction of Complex numbers (doesn't change this Complex number). More...  
Complex  times (Complex w) 
Complex multiplication (doesn't change this Complex number). More...  
Complex  div (Complex w) 
Division of Complex numbers (doesn't change this Complex number). More...  
Complex  exp () 
Complex exponential (doesn't change this Complex number). More...  
Complex  log () 
Principal branch of the Complex logarithm of this Complex number. More...  
Complex  sqrt () 
Complex square root (doesn't change this complex number). More...  
Complex  sin () 
Sine of this Complex number (doesn't change this Complex number). More...  
Complex  cos () 
Cosine of this Complex number (doesn't change this Complex number). More...  
Complex  sinh () 
Hyperbolic sine of this Complex number (doesn't change this Complex number). More...  
Complex  cosh () 
Hyperbolic cosine of this Complex number (doesn't change this Complex number). More...  
Complex  tan () 
Tangent of this Complex number (doesn't change this Complex number). More...  
Complex  chs () 
Negative of this complex number (chs stands for change sign). More...  
String  toString () 
String representation of this Complex number. More...  
Complex implements a complex number and defines complex arithmetic and mathematical functions.

inline 
Constructs the complex number z = u + i*v.
u  Real part 
v  Imaginary part 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 

inline 
String representation of this Complex number.