diff --git a/mapytex/calculus/core/MO/polynomial.py b/mapytex/calculus/core/MO/polynomial.py index 2b8b245..cecea32 100644 --- a/mapytex/calculus/core/MO/polynomial.py +++ b/mapytex/calculus/core/MO/polynomial.py @@ -71,8 +71,8 @@ class MOpolynomial(MO): @property def degree(self): - """ - Maximum degree of its coefficient + """ + Maximum degree of its coefficient :example: >>> p = MOpolynomial('x', [1, 2, 3]) @@ -85,6 +85,10 @@ class MOpolynomial(MO): """ return max(self._coefs.keys()) + @property + def power(self): + return self.degree + @property def coefficients(self): return self._coefs