|  |  D.4.18.9 isprimeMon Procedure from librarymonomialideal.lib(see  monomialideal_lib).
 
Example: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.
 |  | LIB "monomialideal.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
 | 
 
 |