(R, S) = gfanTropicalRank M
This method computes the tropical rank of matrix. The output is a pair whose first coordinate is the rank and whose second coordinate is a string describing how the rank was computed.



gfan Documentation
This program will compute the tropical rank of matrix given as input. Tropical addition is MAXIMUM.
Options:
kapranov:
Compute Kapranov rank instead of tropical rank.
determinant:
Compute the tropical determinant instead.
The object gfanTropicalRank is a method function with options.