class for the complex number and its arithmetic.
More...
#include <complex.h>
Definition at line 22 of file complex.h.
◆ Complex() [1/3]
◆ Complex() [2/3]
Complex::Complex |
( |
double |
ta, |
|
|
double |
tb |
|
) |
| |
|
inline |
◆ Complex() [3/3]
Complex::Complex |
( |
const Complex & |
p | ) |
|
|
inline |
◆ arg()
double Complex::arg |
( |
| ) |
const |
|
inline |
◆ conj()
◆ euler()
void Complex::euler |
( |
double & |
r, |
|
|
double & |
theta |
|
) |
| |
|
inline |
◆ mag()
double Complex::mag |
( |
| ) |
const |
|
inline |
◆ mag2()
double Complex::mag2 |
( |
| ) |
const |
|
inline |
◆ operator*=() [1/2]
const Complex& Complex::operator*= |
( |
const double |
k | ) |
|
|
inline |
◆ operator*=() [2/2]
◆ operator+=()
◆ operator-=()
◆ operator/=()
const Complex& Complex::operator/= |
( |
const double |
k | ) |
|
|
inline |
◆ operator=()
◆ operator* [1/3]
◆ operator* [2/3]
◆ operator* [3/3]
◆ operator+
◆ operator-
◆ operator/
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Complex & |
p |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: