volumeVector TvolumeVector(A, tri)gkzVector TgkzVector(A, tri)For each maximal simplex $t$, the function computes $|\det A_t| / d!$. The output's $i$-th entry is the sum of these values over all $t$ containing $i$. This is the GKZ vector (or volume vector) of the triangulation; the two names volumeVector and gkzVector are aliases for the same method.
The geometric reading of $|\det A_t|/d!$ depends on whether $A$ is a point or vector configuration:
If $A$ has fewer rows than $d{+}1$ where $d{+}1 = |t|$ for any simplex $t \in tri$, $A$ is auto-homogenized with a final row of $1$'s before the determinant is taken.
Example: a fine regular triangulation of a planar point set, regarded as a point configuration:
|
|
|
Example: the rays of the fan of $\mathbb{P}^1 \times \mathbb{P}^1$, as a vector configuration:
|
|
|
The object volumeVector is a method function.
The source of this document is in Triangulations.m2:2640:0.