#11764: define the class MPolynomial at the top-level
-----------------------------------+----------------------------------------
Reporter: zimmerma | Owner: malb
Type: enhancement | Status: new
Priority: trivial | Milestone: sage-4.7.2
Component: commutative algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------------+----------------------------------------
for univariate polynomials we have the class {{{Polynomial}}}:
{{{
sage: R.<x> = QQ[]
sage: isinstance(x+1, Polynomial)
True
}}}
However for multivariate polynomials we have to write:
{{{
sage: R.<x,y> = 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.<x,y> = QQ[]
sage: isinstance(x+y, MPolynomial)
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11764>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.