Home Online Manual
Top
Back: zeroMod
Forward: dec1var
FastBack:
FastForward:
Up: mprimdec_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.20.6 GTZmod

Procedure from library mprimdec.lib (see mprimdec_lib).

Usage:
GTZmod (N[, check]); module N[, module check]

Return:
list l
the minimal primary decomposition of the module N,
computed by a generalized version of the algorithm of Gianni, Trager and Zacharias

Note:
if the parameter check is given, only components not containing check are computed

Example:
 
LIB "mprimdec.lib";
ring r=0,(x,y,z),dp;
module N=x*gen(1)+ y*gen(2),
x*gen(1)-x2*gen(2);
list l=GTZmod(N);
==> 2
l;
==> [1]:
==>    [1]:
==>       _[1]=gen(2)
==>       _[2]=x*gen(1)
==>    [2]:
==>       _[1]=x
==> [2]:
==>    [1]:
==>       _[1]=x*gen(1)+y*gen(2)
==>       _[2]=x*gen(2)-gen(1)
==>    [2]:
==>       _[1]=x2+y