#11726: Implement univariate Laurent polynomial ring & elements
-----------------------------------+----------------------------------------
Reporter: boothby | Owner: malb
Type: defect | Status: new
Priority: minor | Milestone: sage-4.7.2
Component: commutative algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Description changed by boothby:
Old description:
> Consider:
>
> {{{
> sage: P.<q> = LaurentPolynomialRing(QQ)
> sage: q in P
> True
> sage: P(q)
> q
> sage: q^(-1) in P
> True
> sage: 1/q in P
> False
> sage: P(1/q)
> }}}
>
> The last statement raises an exception.
>
> (this is not a duplicate of #7839)
New description:
At present, the implementation of univariate Laurent polynomials is (self-
admittedly) in a sorry state:
{{{
############################################################
# This should later get moved to an actual single variate #
# implementation with valuation tracking, #
# but I don't want to right now. #
############################################################
# We need to come up with a name for the inverse that is easy to
search
# for in a string *and* doesn't overlap with the name that we already
have.
# For now, I'm going to use a name mangling with checking method.
}}}
This should be fixed.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11726#comment:2>
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.