mdp_complex Class Reference
portable complex numbers
More...
#include <mdp_complex.h>
List of all members.
Detailed Description
portable complex numbers
Example:
/// mdp_complex x=3+5*I;
/// cout << x.read() << "," << x.imag() << endl;
/// cout << sin(x) << endl;
///
Constructor & Destructor Documentation
mdp_complex::mdp_complex |
( |
const mdp_real |
a = 0.0 , |
|
|
const mdp_real |
b = 0.0 | |
|
) |
| | [inline] |
mdp_complex::mdp_complex |
( |
const mdp_complex & |
c |
) |
[inline] |
Member Function Documentation
const mdp_real& mdp_complex::imag |
( |
|
) |
const [inline] |
mdp_real& mdp_complex::imag |
( |
|
) |
[inline] |
bool mdp_complex::operator!= |
( |
const mdp_complex & |
c |
) |
[inline] |
void mdp_complex::operator*= |
( |
const mdp_real |
c |
) |
[inline] |
void mdp_complex::operator*= |
( |
const mdp_complex & |
c |
) |
[inline] |
void mdp_complex::operator+= |
( |
const mdp_real |
c |
) |
[inline] |
void mdp_complex::operator+= |
( |
const mdp_complex & |
c |
) |
[inline] |
void mdp_complex::operator-= |
( |
const mdp_real |
c |
) |
[inline] |
void mdp_complex::operator-= |
( |
const mdp_complex & |
c |
) |
[inline] |
void mdp_complex::operator/= |
( |
const mdp_real |
c |
) |
[inline] |
void mdp_complex::operator/= |
( |
const mdp_complex & |
c |
) |
[inline] |
bool mdp_complex::operator== |
( |
const mdp_complex & |
c |
) |
[inline] |
const mdp_real& mdp_complex::real |
( |
|
) |
const [inline] |
mdp_real& mdp_complex::real |
( |
|
) |
[inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: