Macaulay2 » Documentation
Packages » Tropical :: linealitySpace(TropicalCycle)
next | previous | forward | backward | up | index | toc

linealitySpace(TropicalCycle) -- computes the lineality space of a tropical cycle

Synopsis

Description

This function computes the lineality space of the fan associated to the tropical cycle T. The generators of the lineality space are the columns of the output matrix

i1 : QQ[x,y,z];
i2 : I=ideal(x-y);

o2 : Ideal of QQ[x..z]
i3 : T=tropicalVariety I;
i4 : L=linealitySpace T

o4 = | 1 0 |
     | 1 0 |
     | 0 1 |

              3       2
o4 : Matrix ZZ  <-- ZZ

Ways to use this method: