Macaulay2 » Documentation
Packages » Tropical :: tropicalCycle
next | previous | forward | backward | up | index | toc

tropicalCycle -- constructs a TropicalCycle from a Fan and a list with multiplicities

Synopsis

Description

This function creates a tropical cycle from a fan and a list of multiplicities. The multiplicities must be given in the same order as the maximal cones appear in the MaximalCones list.

i1 : F = fan {posHull matrix {{1},{0},{0}}, posHull matrix {{0},{1},{0}}, posHull matrix {{0},{0},{1}}, posHull matrix {{-1},{-1},{-1}}}

o1 = F

o1 : Fan
i2 : mult = {1,2,-3,1}

o2 = {1, 2, -3, 1}

o2 : List
i3 : tropicalCycle(F, mult)

o3 = TropicalCycle{...2...}

o3 : TropicalCycle

Ways to use tropicalCycle :

For the programmer

The object tropicalCycle is a method function.