Given a projective toric variety X_{A} defined by a full rank integer matrix A with the vector (1,1,...,1) in its row space, the package computes the degree and codimension of the dual (i.e. the A-discriminant variety), the Euclidean distance degree of X_{A}, the polar degrees of X_{A}, and the Chern-Mather class of X_{A}. Note that we do not require that X_{A} is normal. This package uses the algorithms described in [1] and [2]. For definitions of the objects computed by the package see [1,2].
References:
[1] Martin Helmer and Bernd Sturmfels. "Nearest points on toric varieties." Mathematica Scandinavica 122, no. 2 (2018): 213-238. Arxiv version: https://arxiv.org/abs/1603.06544.
[2] Martin Helmer and Bernt Ivar Utstol Nodland. "Polar degrees and closest points in codimension two." Journal of Algebra and Its Applications (2017): 1950095. Arxiv version: https://arxiv.org/abs/1711.02381.
This documentation describes version 3.01 of ToricInvariants.
The source code from which this documentation is derived is in the file ToricInvariants.m2.