Top
Back: stdModulesEqual
Forward: getData
FastBack: intprog_lib
FastForward: mregular_lib
Up: mprimdec_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.7.19 modulesEqual

Procedure from library mprimdec.lib (see mprimdec_lib).

Usage:
modulesEqual(N1, N2) N1, N2 modules,

Return:
int i
if (N1==N2) then i=1
else i=0

Example:
 
LIB "mprimdec.lib";
ring  r = 0,(x,y,z),dp;
module N1=x*freemodule(2);
module N2=xy*freemodule(2);
int i=modulesEqual(N1,N2);
i;
==> 0
N2=N1;
i=modulesEqual(N1,N2);
i;
==> 1


Top Back: stdModulesEqual Forward: getData FastBack: intprog_lib FastForward: mregular_lib Up: mprimdec_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-0-1, October 2005, generated by texi2html.