Top
Back: radicalMon
Forward: isprimaryMon
FastBack: modstd_lib
FastForward: mprimdec_lib
Up: monomial_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.11.9 isprimeMon

Procedure from library monomial.lib (see monomial_lib).

Usage:
isprimeMon (I); I ideal

Return:
1, if I is prime; 0, otherwise.
(returns -1 if I is not a monomial ideal)

Assume:
I is a monomial ideal of the basering.

Example:
 
LIB "monomial.lib";
ring R = 0,(w,x,y,z,t),lp;
ideal I = w,y,t;
isprimeMon (I);
==> 1
ideal J = w,y,t,x*z;
isprimeMon (J);
==> 0


Top Back: radicalMon Forward: isprimaryMon FastBack: modstd_lib FastForward: mprimdec_lib Up: monomial_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-1, Feb 2010, generated by texi2html.