toricDivisor P
A convex lattice polytope corresponds to a pair: the normal toric variety determined by its normal fan and toric divisor. The coefficient of the $i$-th irreducible torus-invariant divisor is determined by the supporting hyperplane to the polytope whose normal vector is the minimal lattice point on the $i$-th ray.
Our example demonstrates how different triangles correspond to toric divisors on the projective plane.
|
|
|
|
|
|
|
|
|
|
|
This method function creates both the toric divisor and the underlying normal toric variety.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/NormalToricVarieties/DivisorsDocumentation.m2:1166:0.