Difference between revisions of "CoCoA:CurrentRing"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

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()

Ring

RingEnv

RingEnvs

   <type>ring</type>