|  |  D.15.2.12 piecewisedegree Procedure from libraryarnold.lib(see  arnold_lib).
 
Example:Usage:
piecewisedegree(f,w); f poly, w a piecewise weight given by a list, which can be computed using @ref(piecewiseWeightOfPolygon)
Return:
the piecewise degree of f, with regard to the weight w
 |  | LIB "arnold.lib";
ring R=0,(x,y),ds;
poly f = x^9+x^2*y^4+y^2*x^4+y^8+x^3*y^5+y^2*x^5;
list NP = newtonPolygon(f);
list w = piecewiseWeightOfPolygon(NP);
piecewisedegree(f,w);
==> 96
 | 
 
 |