Constructing tropical complex
Posted: 14 Mar 2016, 02:04
I am trying to construct a tropical complex from given points. I define the points in a matrix as follows and try to call the function "tropical_complex" but get the following error:
Could anyone tell me why this error is happening and how I could solve it?
Code: Select all
tropical> $p1 = new Matrix<Rational>([[0,0,2],[0,2,0],[0,1,-2]]);
tropical> print tropical_complex($p1);
ERROR: Undefined subroutine &Polymake::User::tropical_complex called at input line 1.