Top
Back: engine
Forward: fl2poly
FastBack: dmod_lib
FastForward: freegb_lib
Up: dmodapp_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.7.4.0. poly2list
Procedure from library dmodapp.lib (see dmodapp_lib).

Usage:
poly2list(f); f a poly

Return:
list of exponents and corresponding terms of f

Purpose:
convert a polynomial to a list of exponents and corresponding terms

Example:
 
LIB "dmodapp.lib";
ring r = 0,x,dp;
poly F = x;
poly2list(F);
==> [1]:
==>    [1]:
==>       1
==>    [2]:
==>       x
ring r2 = 0,(x,y),dp;
poly F = x2y+x*y2;
poly2list(F);
==> [1]:
==>    [1]:
==>       2,1
==>    [2]:
==>       x2y
==> [2]:
==>    [1]:
==>       1,2
==>    [2]:
==>       xy2


Top Back: engine Forward: fl2poly FastBack: dmod_lib FastForward: freegb_lib Up: dmodapp_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-0, Mar 2009, generated by texi2html.