Macaulay2 » Documentation
Packages » Macaulay2Doc :: variety(SheafOfRings)
next | previous | forward | backward | up | index | toc

variety(SheafOfRings) -- get the variety

Synopsis

Description

i1 : X = Proj(QQ[x..z])

o1 = X

o1 : ProjectiveVariety
i2 : O = OO_X

o2 = OO
       X

o2 : SheafOfRings
i3 : variety O

o3 = X

o3 : ProjectiveVariety

Code

../../../../../Macaulay2/m2/varieties.m2:131:37-131:42: --source code:
variety SheafOfRings := Variety => O -> O.variety

Ways to use this method: