up previous next
the ring of integers
This function returns the ring of integers.
It is useful when you want to use
ZZ
inside
define/enddefine
.
NOTE: calling
RingZZ
twice gives the same identical ring,
whereas calling
NewPolyRing
or
NewFractionField
return each time a new ring.
/**/ Two := RingElem(RingZZ(), 2); Two;
2
/**/ type(Two);
RINGELEM;
/**/ IsZZ(RingOf(Two));
true
/**/ IsQQ(RingOf(Two));
false
|