Computes the global sections of a toric Weil divisor D with coefficients v with respect to the coker grading by A. In the same way as v they are represented by vectors (exponent vectors of Laurent monomials in rank target A variables).
If a list of indices L in {0..rank target A -1} is specified, then those Laurent monomial exponents are computed, which induce a linear equivalence of D to an effective divisor with support precisely on L.
|
|
|
|
|
|
|
This uses the package OldPolyhedra.m2 (if ConvexInterface.m2 is not present) to compute the lattice points of a convex hull. constructHilbertBasis of the package OldPolyhedra.m2 used by latticePoints overwrites global variable C. Fixed this in my local version.
The object globalSections is a method function.