11 #include "Constants.h"
12 #include "IException.h"
13 #include "NthOrderPolynomial.h"
24 NthOrderPolynomial::NthOrderPolynomial(
int degree) :
41 QString mess =
"Number of variables given (" + QString::number(vars.size())
42 +
") does not match expected (" +
Variables() +
")!";
49 for (
int i = p_degree; i >= 1; i--) {
50 p_terms.push_back(pow(t1, i) - pow(t2, i));