from application tropical
Tropical hypersurface in the tropical projective torus R^d/R1. This is a special instance of a Cycle: It is the tropical locus of a homogeneous polynomial over the tropical numbers. Note: Homogeneity of the MONOMIALS is never checked.
The following yields a tropical plane conic.
> $C=new Hypersurface<Min>(MONOMIALS=>[ [2,0,0],[1,1,0],[0,2,0],[1,0,1],[0,1,1],[0,0,2] ], COEFFICIENTS=>[6,5,6,5,5,7]);
permuting MONOMIALS and COEFFICIENTS
These properties capture combinatorial information of the object. Combinatorial properties only depend on combinatorial data of the object like, e.g., the face lattice.
DUAL_SUBDIVISION
Subdivision of the Newton polytope dual to the tropical hypersurface. The vertices of this PolyhedralComplex are the non-redundant MONOMIALS.
PATCHWORK
This encodes a patchworking structure on the hypersurface. Its lone input property is SIGNS
COEFFICIENTS
Coefficients of the homogeneous tropical polynomial POLYNOMIAL. Each entry corresponds to one of the terms in POLYNOMIAL. The order is compatible with the order of MONOMIALS.
Vector<TropicalNumber<Addition,Rational>>
DOMEThe dome of a (inhomogeneous) tropical polynomial \(F:\mathbb R^d\to\mathbb R\) (and the corresponding affine tropical hypersurface) is the set \[D(F)=\left\{(p,s)\in\mathbb R^{d+1}\mid p\in\mathbb R^d, s\in\mathbb R, s \oplus F(p) = s\right\}\]. It is an unbounded convex polyhedron, c.f.
> Michael Joswig, Essentials of Tropical Combinatorics, Chapter 1.
.. For a projective tropical hypersurface, the __dome__ is the intersection of the dome for the affine case with the hyperplane at height 1. Note: To account for negative exponents, the dome may have been repositioned by multiplying the original polynomial with a suitable monomial. ? Type: :''[[..:polytope:Polytope |Polytope]]<[[..:common#Rational |Rational]]>''
MONOMIALS
Exponent vectors of the homogeneous tropical polynomial POLYNOMIAL. Each row corresponds to one of the monomials in POLYNOMIAL, each column to a variable.
POLYNOMIALHomogeneous tropical polynomial defining the hypersurface. Note: The homogeneity of the polynomial is never checked.
Polynomial<TropicalNumber<Addition,Rational>,Int>
REDUNDANT_MONOMIALSREGIONS
Connected components of the complement. Rows correspond to facets of the DOME, i.e. non-redundant MONOMIALS , columns correspond to VERTICES.
These methods capture combinatorial information of the object. Combinatorial properties only depend on combinatorial data of the object like, e.g., the face lattice.
dual_subdivision()
Returns DUAL_SUBDIVISION; backward compatibility.