#14828: Slope factorisation of polynomials over padics
---------------------------------------+----------------------------
Reporter: caruso | Owner: roed
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: padics | Resolution:
Keywords: polynomials, padics | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #14823, #14826 | Stopgaps:
---------------------------------------+----------------------------
Comment (by chapoton):
It seems that the NewtonPolygon class is not doing what I would have
expected. It gives
{{{
sage: NP = NewtonPolygon([ (0,0), (1,45), (3,6) ]); NP
Finite Newton polygon with 2 vertices: (0, 0), (3, 6)
}}}
So it is implicitely assuming that the polytope is rather a kind of "lower
envelope". In my opinion, the doc needs to be enhanced, with more
explanations and a link to the newton_polytope method below.
Compare to
{{{
sage: x,y=polygen(QQ,'x, y')
sage: p = 1 + x*y**45 + x**3*y**6
sage: p.newton_polytope()
A 2-dimensional polyhedron in ZZ^2 defined as the convex hull of 3
vertices
sage: p.newton_polytope().vertices()
(A vertex at (0, 0), A vertex at (1, 45), A vertex at (3, 6))
}}}
which is for me the expected behavior.
Anyway, I still think that this has rather to be solved in #6667.
--
Ticket URL: <http://trac.sagemath.org/ticket/14828#comment:6>
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.
For more options, visit https://groups.google.com/groups/opt_out.