Use
dim,
codim, and
degree to compute the dimension, codimension and degree, respectively, of an ideal. The functions
dim and
degree compute the dimension and degree of the ring
R/I.
R = ZZ/101[x,y,z]; |
I = ideal(x^3-y*z^2,x*y-z^2,x*z); |
dim I |
codim I |
degree I |