next | previous | forward | backward | up | top | index | toc | Macaulay2 website
MultiprojectiveVarieties :: codim(MultiprojectiveVariety)

codim(MultiprojectiveVariety) -- the codimension of the variety

Synopsis

Description

i1 : X = projectiveVariety ideal random({2,1},ZZ/101[x_0,x_1,x_2,y_0,y_1,Degrees=>{3:{1,0},2:{0,1}}]);

o1 : ProjectiveVariety, surface in PP^2 x PP^1
i2 : codim X

o2 = 1

See also