M = secondaryCone TM = secondaryCone(A, tri)Working modulo the lineality space. In ambient $\mathbb{R}^N$, every weight vector $w$ inducing the triangulation $T$ yields the same regular subdivision when shifted by an element of $\mathrm{rowspan}(A)$ (linear/affine functions of the configuration), so the secondary cone has lineality of dimension $\mathrm{rank}(A)$. Quotienting by this lineality via $t = Q w$ -- where $Q$ is the charge matrix -- produces a pointed cone in $\mathbb{R}^{N-d}$, the natural home of the secondary cone (and, in due course, the secondary fan).
Each row of $M$ comes from one wall circuit $z$ of $T$ (see wallCircuits): solving $z = z' Q$ over $\mathbb{Z}$ gives the reduced inequality $z'$, and the rows of $M$ are these $z'$. When the user supplies their own DegreeMatrix, each row of $M$ is expressed in that basis instead.
The triangulation is regular iff this cone has nonempty interior in $\mathbb{R}^{N-d}$, which can be tested with the engine LP rawConeInteriorPoint (see isRegularTriangulation).
To recover a weight vector $w \in \mathbb{R}^N$ from an interior point $t$ of the reduced cone, lift via any $w$ with $Q w = t$ (for instance $w = \mathrm{solve}(Q, t)$). Any such $w$ induces the triangulation; different lifts differ by an element of the lineality and produce the same triangulation.
|
|
|
|
|
A vector configuration: 8 corners of a 3-cube, treated as a $4 \times 8$ vector configuration (homogenized by hand with a row of $1$'s). The reduced cone lives in $\mathbb{R}^{8-4} = \mathbb{R}^4$.
|
|
|
|
|
The object secondaryCone is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.06+ds/M2/Macaulay2/packages/Triangulations.m2:2340:0.