CoCoA:Characteristic

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Characteristic

the characteristic of a ring

Description

This function returns the characteristic of the current ring, in the

first case, or of the ring R, in the second.

Example

  Use R ::= Z/(3)[t];
  S ::= Q[x,y];
  Characteristic(); -- characteristic of the current ring, R
3
-------------------------------
  Characteristic(S);
0
-------------------------------

Syntax

Characteristic():INT
Characteristic(R:RING):INT
   <type>ring</type>