Top
Back: Emaxcont
Forward: resfunction
FastBack: primdecint_lib
FastForward: resjung_lib
Up: resbin_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.8.15 cleanunit

Procedure from library resbin.lib (see resbin_lib).

Compute:
We clean (or forget) the units in a monomial, given by "y" variables

Return:
The list defining the monomial ideal already cleaned

Example:
 
LIB "resbin.lib";
ring r = 0,(x(1),y(2),x(3),y(4)),dp;
list flag=identifyvar();
ideal J=x(1)^3*y(2)*x(3)^5*y(4)^8;
list L=data(J,1,4);
L[2][1][1];  // list of exponents of the monomial J
==> [1]:
==>    3
==> [2]:
==>    1
==> [3]:
==>    5
==> [4]:
==>    8
list M=cleanunit(L[2][1][1],4,flag);
M;           // new list without units
==> [1]:
==>    3
==> [2]:
==>    0
==> [3]:
==>    5
==> [4]:
==>    0


Top Back: Emaxcont Forward: resfunction FastBack: primdecint_lib FastForward: resjung_lib Up: resbin_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-2, Oct 2010, generated by texi2html.