next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Tropical :: isBalanced

isBalanced -- checks whether a tropical cycle is balanced

Synopsis

Description

This function checks if a tropical cycle is balanced.

i1 : QQ[x,y,z]

o1 = QQ[x, y, z]

o1 : PolynomialRing
i2 : V = tropicalVariety(ideal(x+y+z))

o2 = V

o2 : TropicalCycle
i3 : F = fan {posHull matrix {{1},{0},{0}}, posHull matrix {{0},{1},{0}}, posHull matrix {{0},{0},{1}}, posHull matrix {{-1},{-1},{-1}}}

o3 = F

o3 : Fan
i4 : mult = {1,2,-3,1}

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

o4 : List

Ways to use isBalanced :

For the programmer

The object isBalanced is a method function.