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.
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.
Code: Select all
tropical> $c = new Cone<Min>(POINTS=>[[0,0,2],[0,2,0],[0,1,-2]]);
tropical> $t = $c->torus_subdivision_as_complex();
tropical> $t->VISUAL;