GLAC  1.0
Data Structures | Functions
complex.h File Reference
#include <iostream>
Include dependency graph for complex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  complex
 A complex number class, consisting of t. More...
 

Functions

complex operator+ (complex a, complex b)
 
complex operator+ (complex a, double b)
 
complex operator- (complex a, complex b)
 
complex operator- (complex a, double b)
 
complex operator * (complex a, complex b)
 
complex operator * (complex a, double b)
 
complex operator/ (complex a, complex b)
 
complex operator/ (complex a, double b)
 

Function Documentation

◆ operator *() [1/2]

complex operator * ( complex  a,
complex  b 
)
inline

◆ operator *() [2/2]

complex operator * ( complex  a,
double  b 
)
inline

◆ operator+() [1/2]

complex operator+ ( complex  a,
complex  b 
)
inline

◆ operator+() [2/2]

complex operator+ ( complex  a,
double  b 
)
inline

◆ operator-() [1/2]

complex operator- ( complex  a,
complex  b 
)
inline

◆ operator-() [2/2]

complex operator- ( complex  a,
double  b 
)
inline

◆ operator/() [1/2]

complex operator/ ( complex  a,
complex  b 
)
inline

◆ operator/() [2/2]

complex operator/ ( complex  a,
double  b 
)
inline