id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
11764 define the class MPolynomial at the top-level zimmerma malb "for univariate polynomials we have the class {{{Polynomial}}}:
{{{
sage: R. = QQ[]
sage: isinstance(x+1, Polynomial)
True
}}}
However for multivariate polynomials we have to write:
{{{
sage: R. = QQ[]
sage: isinstance(x+y, sage.rings.polynomial.multi_polynomial.MPolynomial)
True
}}}
I suggest {{{MPolynomial}}} is defined as an alias for
{{{sage.rings.polynomial.multi_polynomial.MPolynomial}}} so that we can simply write:
{{{
sage: R. = QQ[]
sage: isinstance(x+y, MPolynomial)
True
}}}" enhancement new trivial sage-6.4 commutative algebra mmezzarobba N/A