Macaulay2 » Documentation
Packages » TropicalToric :: toricDivisorFromCycle
next | previous | forward | backward | up | index | toc

toricDivisorFromCycle -- Convert a codimension one toric cycle into a toric divisor

Synopsis

Description

i1 : X = toricProjectiveSpace 2;
i2 : D = X_{0} + X_{1};

o2 : ToricCycle on X
i3 : toricDivisorFromCycle D

o3 = X  + X
      0    1

o3 : ToricDivisor on X

Ways to use toricDivisorFromCycle :

For the programmer

The object toricDivisorFromCycle is a method function.