|
Class Komplex + STL
|
#include <komplex.h>
Public Member Functions | |
| Komplex () | |
| Komplex (double re, double im=0.0) | |
| Komplex (const Komplex &org)=default | |
| Komplex (Komplex &&org)=default | |
| Komplex & | operator= (const Komplex &rhs)=default |
| Komplex & | operator= (Komplex &&rhs)=default |
| ~Komplex ()=default | |
| double | Get_re () const |
| void | Set_re (double val) |
| double | Get_im () const |
| void | Set_im (double val) |
| Komplex & | operator+= (const Komplex &rhs) |
| bool | operator< (const Komplex &rhs) const |
| double | abs () const |
| Komplex::Komplex | ( | ) |
Default constructor
Definition at line 8 of file komplex.cpp.
| Komplex::Komplex | ( | double | re, |
| double | im = 0.0 |
||
| ) |
Parameter constructor
| [in] | re | Realteil |
| [in] | im | Imaginaerteil (default value: 0.0) |
Definition at line 12 of file komplex.cpp.
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
Addiert zur aktuellen Instanz eine zweiten komplexen Zahl
| [in] | rhs | zweite komplexe Zahl |
Definition at line 16 of file komplex.cpp.
|
inline |
Addiert die aktuelle Instanz mit einer zweiten komplexen Zahl
| [in] | rhs | zweite komplexe Zahl |
*this + rhs Vergleicht die aktuelle Instanz mit einer zweiten komplexen Zahl. Es werden nur die Realantele verglichen. | [in] | rhs | zweite komplexe Zahl |
*this < rhs
|
inline |
|
inline |