#14120: Add constant_coefficient method for Laurent polynomials
------------------------------------+---------------------------------------
Reporter: tscrim | Owner: tscrim
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.8
Component: algebra | Resolution:
Keywords: days45 | Work issues:
Report Upstream: N/A | Reviewers: Kannappan Sampath
Authors: Travis Scrimshaw | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Changes (by knsam):
* status: needs_review => positive_review
Comment:
>> And, could we also please document that multivariate laurent
polynomials are not
>> iterable, as implemented, by adding an example, before we get
complaints "like" this.
>
> This does not make sense to me. They are iterable with this patch.
I meant more along the following lines: you cannot iterate through using
slice notation:
{{{
sage: P.<x,y,z> = LaurentPolynomialRing(QQ)
sage: f = (y^2 - x^9 - 7*x*y^3 + 5*x*y)*x^-3 + x*z; f
-x^6 + x*z - 7*x^-2*y^3 + 5*x^-2*y + x^-3*y^2
sage: f[6,0,0]
-1
sage:f[5:6]
[snip]
TypeError: Multivariate Laurent polynomials are not iterable
}}}
But, well, this does not even make sense, given the current
implementation. So, I'll set this to positive review.
~KnS
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14120#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.