dim M -- calculate the dimension of the support of a module M.
dim R -- calculate the dimension of a ring R.
dim I -- calculate the dimension of the quotient ring R/I.
dim r -- calculate the dimension of the virtual representation
corresponding to an element of a Schur ring.
Warning: if you want the dimension of a vector space, you should use rank.
Warning: over the integers, the computation effectively tensors first with the rational numbers, yielding the wrong answer in some cases.
See also:
Class of returned value: ZZ -- the class of all integersWays to use dim :