| #### 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

User manual for Singular version 4.3.2, 2023, generated by texi2html.