max X
A normal toric variety corresponds to a strongly convex rational polyhedral fan in affine space. In this package, the fan associated to a normal $d$dimensional toric variety lies in the rational vector space $\QQ^d$ with underlying lattice $N = \ZZ^d$. The fan is encoded by the minimal nonzero lattice points on its rays and the set of rays defining the maximal cones (where a maximal cone is not properly contained in another cone in the fan). The rays are ordered and indexed by nonnegative integers: $0, 1, \dots, n1$. Using this indexing, a maximal cone in the fan corresponds to a sublist of $\{ 0, 1, \dots, n1 \}$; the entries index the rays that generate the cone.
The examples show the maximal cones for the projective line, projective $3$space, a Hirzebruch surface, and a weighted projective space.












In this package, a list corresponding to the maximal cones in the fan is part of the defining data of a normal toric variety, so this method does no computation.