The Polynom class Darstellung von Polynomen. More...
#include <x013.h>
Public Member Functions | |
| Polynom (std::array< T, N+1 > clst) | |
| Polynom Konstruktor. More... | |
| T | c (size_t idx) const |
| c lese Koeffizienten More... | |
| auto | eval (gsl_complex z) const |
| eval Auswertung des Polynoms More... | |
| auto | eval (double x) const |
| eval Auswertung des Polynoms More... | |
| template<class R > | |
| auto | operator() (R x) const |
| operator () Auswertung des Polynoms More... | |
| constexpr size_t | degree () const |
| degree More... | |
Protected Attributes | |
| std::array< T, N+1 > | _c |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Polynom &p) |
| operator << Ausgabe der Koeffizienten des Polynoms {c0,c1,c2,...,cn} More... | |
The Polynom class Darstellung von Polynomen.
| T | Datentyp der Koeffizienten |
| N | Grad des Polynoms. N+1 : Anzahl der Koeffizienten |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
protected |
1.8.13