A torus-invariant Weil divisor on a normal toric variety is an integral linear combination of the irreducible torus-invariant divisors. The irreducible torus-invariant divisors correspond to the rays. In this package, the rays are ordered and indexed by the nonnegative integers.
The first examples illustrates some torus-invariant Weil divisors on projective $2$-space.
|
|
|
|
|
|
One can easily extract individual coefficients or the list of coefficients.
|
|
|
|
|
The object ToricDivisor is a type, with ancestor classes HashTable < Thing.