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

dim Ring -- calculate the dimension

Synopsis:

  • Function: dim -- calculate the dimension
  • Input:
  • an instance of class Ring.
  • Output:
  • an instance of class ZZ.
  • Code:

         -- ../../../Macaulay2/m2/rings.m2:12-15
         dim Ring := R -> (
              if R.?dim then R.dim
              else if isField R then 0
              else error("dimension of ring ", toString R, " unknown"))

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