Template class Komplex with concepts
komplex.h File Reference
#include <cassert>
#include <cmath>
#include <concepts>
#include <iostream>
#include "komplex.tcc"
Include dependency graph for komplex.h:

Go to the source code of this file.

Classes

class  Komplex< T >
 

Functions

template<class T >
Komplex< T > operator+ (T lhs, const Komplex< T > &rhs)
 
template<class T >
abs (const Komplex< T > &rhs)
 

Function Documentation

◆ abs()

template<class T >
T abs ( const Komplex< T > &  rhs)

Definition at line 122 of file komplex.h.

Here is the call graph for this function:

◆ operator+()

template<class T >
Komplex<T> operator+ ( lhs,
const Komplex< T > &  rhs 
)

Addiert zu einer reellen Zahl eine komplexe Zahl

Parameters
[in]lhsrelle Zahl
[in]rhskomplexe Zahl
Returns
Sum of lhs + rhs