zero -- zero of a ring |
Syntax |
zero(R: RING): RINGELEM |
Description |
Example |
/**/ P ::= ZZ/(101)[x,y,z]; /**/ N := 0; Print N, " of type ", type(N); 0 of type INT /**/ N := zero(P); Print N, " of type ", type(N); 0 of type RINGELEM /**/ N := 300*0; Print N, " of type ", type(N); 0 of type INT /**/ N := 300*zero(P); Print N, " of type ", type(N); 0 of type RINGELEM /**/ F := NewFreeModule(P, 3); /**/ zero(F); [0, 0, 0] |
See Also |