|  |  D.15.2.10 piecewiseWeightOfPolygon Procedure from libraryarnold.lib(see  arnold_lib).
 
Example:Usage:
piecewiseWeightOfPolygon(NP); a list NP as given by @ref(newtonPolygon)
Return:
the piecewiseweight defined by the Newton polygon NP
 |  | 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);
piecewiseWeightOfPolygon(NP);
==> [1]:
==>    18,9
==> [2]:
==>    12,12
==> [3]:
==>    8,20
 | 
 
 |