Polynomial<Internal::max<degin,deg>::value> operator-(const Polynomial<degin> &poly) const { Polynomial<Internal::max<degin,deg>::value> p; p.coefficients().tail(deg+1) = coef; p.coefficients().tail(degin+1) -= poly.coefficients(); return p; }
Polynomial<degin+deg> operator*(const Polynomial<degin> &poly) const { Polynomial<degin+deg> p; Internal::PolyConv<deg,degin>::compute(p.coefficients(),coef,poly.coefficients()); return p; }