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

variety(ToricCycle) -- Get the ambient variety of the cycle

Synopsis

Description

This function returns the underlying toric variety of the toric cycle.

i1 : X = toricProjectiveSpace 2

o1 = X

o1 : NormalToricVariety
i2 : Z = toricCycle({{0,1} => 3,{0,2} => 7,{1,2} => 82},X)

o2 = 3*X       + 7*X       + 82*X
        {0, 1}      {0, 2}       {1, 2}

o2 : ToricCycle on X
i3 : variety Z

o3 = X

o3 : NormalToricVariety

Ways to use this method: