Class Komplex + STL
Loading...
Searching...
No Matches
komplex.h File Reference
#include <cmath>
#include <iostream>
Include dependency graph for komplex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Komplex
 

Functions

std::ostream & operator<< (std::ostream &s, const Komplex &rhs)
 
std::istream & operator>> (std::istream &s, Komplex &rhs)
 
Komplex operator+ (const Komplex &lhs, const Komplex &rhs)
 

Function Documentation

◆ operator+()

Komplex operator+ ( const Komplex lhs,
const Komplex rhs 
)
inline

Addiert zwei komplexe Zahlen

Parameters
[in]lhskomplexe ahl
[in]rhskomplexe Zahl
Returns
lhs + rhs

Definition at line 119 of file komplex.h.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  s,
const Komplex rhs 
)

Ausgabeoperator fuer die Klasse Komplex.

Parameters
[in]sein beliebiger Ausgabestrom
[in]rhsdie auszugebende Instanz der Klasse Komplex
Returns
Ausgabestrom

◆ operator>>()

std::istream & operator>> ( std::istream &  s,
Komplex rhs 
)

Eingabeoperator fuer die Klasse Komplex.

Parameters
[in]sein beliebiger Eingabestrom
[out]rhsdie einzulesende Instanz der Klasse Komplex
Returns
Eingabestrom