restructure and add ipi texs

This commit is contained in:
2019-11-06 18:24:04 +01:00
parent e21da561fc
commit 8fd8d2a485
155 changed files with 129 additions and 0 deletions
@@ -0,0 +1,28 @@
class Polynomial :
public SimpleFloatArray {
public:
// konstruiere Polynom vom Grad n
Polynomial (int n);
// Default-Destruktor ist ok
// Default-Copy-Konstruktor ist ok
// Default-Zuweisung ist ok
// Grad des Polynoms
int degree ();
// Auswertung
float eval (float x);
// Addition von Polynomen
Polynomial operator+ (Polynomial q);
// Multiplikation von Polynomen
Polynomial operator* (Polynomial q);
// Gleichheit
bool operator== (Polynomial q);
// drucke Polynom
void print ();
} ;