tropicalizing a polynomial g(x1,x2) in K[x0,x1,x2]
Posted: 11 Nov 2017, 08:04
How can I tropicalize a polynomial g(x1,x2) in a polynomial ring K[x0,x1,x2]? I have two polynomials f(x0,x1) and g(x1,x2) in K[x0,x1,x2] and want to visualize the intersection of their hypersurfaces in R^3.
The command "toTropicalPolynomial" tropicalizes x1 to x_0 and x2 to x_1:
thanks in advance, Yue.
The command "toTropicalPolynomial" tropicalizes x1 to x_0 and x2 to x_1:
Code: Select all
tropical > $g = toTropicalPolynomial("max(x1,x2,0)");
tropical > print $g;
x_0 + x_1 + 0