[next][previous][up][top][index]
search for:

char Ring -- the characteristic of a field or ring

Synopsis:

  • Function: char -- the characteristic of a field or ring
  • Input:
  • an instance of class Ring.
  • Output:
  • an instance of class ZZ.
  • Code:

         -- ../../../Macaulay2/m2/rings.m2:17-19
         char Ring := R -> (
              if R.?char then R.char 
              else error("characteristic of ", toString R, " unknown"))

    [next][previous][up][top][index]
    search for: