CoCoA:CurrentRing
From ApCoCoAWiki
CurrentRing
the current ring
Description
This function returns the current ring. The related command,
<ttref>RingEnv</ttref> returns the name of the current ring.
Example
Use R ::= Q[x,y]; Use S ::= Z/(3)[t]; CurrentRing(); Z/(3)[t] ------------------------------- Use R; CurrentRing(); Q[x,y] -------------------------------
Syntax
CurrentRing()
<type>ring</type>