up previous next
RingID    --    identification for ring


Syntax
RingID(R: RING): INT

Description
This function is likely useful only for debugging. It returns the identification number of the ring R.

NOTE: that CoCoA considers two rings to be equal if and only if they have the same ID.

Example
/**/ R ::= QQ[x,y,z];
/**/ S ::= QQ[x,y,z]; // creates a separate copy
/**/ R = S;
false
/**/ RingID(R);
7
/**/ RingID(S);
8

See Also