from application fan
A polyhedral complex. The derivation from PolyhedralFan
works like the derivation of Polytope
from Cone
.
Scalar
: numeric data type used for the coordinates, must be an ordered field. Default is Rational
.
The following defines a subdivision of a square in the plane into two triangles.
> $c=new PolyhedralComplex(VERTICES=>[[1,0,0],[1,1,0],[1,0,1],[1,1,1]],MAXIMAL_POLYTOPES=>[[0,1,2],[1,2,3]]);
These properties are for input only. They allow redundant information.
INPUT_POLYTOPES
Alias for property INPUT_CONES
.
POINTS
Alias for property INPUT_RAYS
.
Matrix<Scalar,NonSymmetric>
These properties capture combinatorial information of the object. Combinatorial properties only depend on combinatorial data of the object like, e.g., the face lattice.
COMPACTIFICATION
The Hasse diagram of the compactification of the polyhedral complex. For a simplicial polyhedral complex, this is the cubical compactification (or cubical complex, see [Omid Amini: “The combinatorial Chow ring of products of graphs”]). For tropical varieties, this is the tropical compactification, as in [Brian Osserman and Joseph Rabinoff: “Lifting nonproper tropical intersections”]. The vertices of the compactification correspond to the faces of the original complex that have the same dimension as their recession cone. We call the face corresponding to a vertex the 'realisation' of the vertex. The decoration has four entries: 1. The face in the vertices of the compactification 2. The rank of the face 3. The realisation of the face. This is the union of the realisations of the new vertices. 4. The sedentarity of the face. This is the intersection of the sedentarities of the vertices.
The compactification of the positive orthant in three dimensions has the same Hasse diagram as the three dimensional cube.
> $pc1 = new PolyhedralComplex(POINTS=>[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]], INPUT_POLYTOPES=>[[0,1,2,3]]); > print $pc1->COMPACTIFICATION->DECORATION; ({} 0 {} {}) ({0} 1 {0 1 2 3} {1 2 3}) ({1} 1 {0 2 3} {2 3}) ({2} 1 {0 1 3} {1 3}) ({3} 1 {0 1 2} {1 2}) ({4} 1 {0 3} {3}) ({5} 1 {0 2} {2}) ({6} 1 {0 1} {1}) ({7} 1 {0} {}) ({0 1} 2 {0 1 2 3} {2 3}) ({0 2} 2 {0 1 2 3} {1 3}) ({0 3} 2 {0 1 2 3} {1 2}) ({1 4} 2 {0 2 3} {3}) ({1 5} 2 {0 2 3} {2}) ({2 4} 2 {0 1 3} {3}) ({2 6} 2 {0 1 3} {1}) ({3 5} 2 {0 1 2} {2}) ({3 6} 2 {0 1 2} {1}) ({4 7} 2 {0 3} {}) ({5 7} 2 {0 2} {}) ({6 7} 2 {0 1} {}) ({0 1 2 4} 3 {0 1 2 3} {3}) ({0 1 3 5} 3 {0 1 2 3} {2}) ({0 2 3 6} 3 {0 1 2 3} {1}) ({1 4 5 7} 3 {0 2 3} {}) ({2 4 6 7} 3 {0 1 3} {}) ({3 5 6 7} 3 {0 1 2} {}) ({0 1 2 3 4 5 6 7} 4 {0 1 2 3} {}) ({-1} 5 {-1} {})
MAXIMAL_POLYTOPES
Alias for property MAXIMAL_CONES
.
MAXIMAL_POLYTOPES_COMBINATORIAL_DIMS
Alias for property MAXIMAL_CONES_COMBINATORIAL_DIMS
.
MAXIMAL_POLYTOPES_INCIDENCES
Array of incidence matrices of all maximal polytopes. Alias for property MAXIMAL_CONES_INCIDENCES
.
MAXIMAL_POLYTOPES_THRU_VERTICES
Alias for property MAXIMAL_CONES_THRU_RAYS
.
N_MAXIMAL_POLYTOPES
Number of MAXIMAL_POLYTOPES
. Alias for property N_MAXIMAL_CONES
.
N_POLYTOPES
Alias for property N_CONES
.
POLYTOPES
Alias for property CONES
.
These properties capture geometric information of the object. Geometric properties depend on geometric information of the object, like, e.g., vertices or facets.
AFFINE_HULL
Alias for property LINEAR_SPAN_NORMALS
.
Matrix<Scalar,NonSymmetric>
BOUNDED
True if each object in MAXIMAL_POLYTOPES
is bounded.
FAR_VERTICES
Indices of vertices that are rays.
MAXIMAL_POLYTOPES_AFFINE_HULL_NORMALS
Alias for property MAXIMAL_CONES_LINEAR_SPAN_NORMALS
.
MAXIMAL_POLYTOPES_FACETS
Alias for property MAXIMAL_CONES_FACETS
.
N_POINTS
Number of POINTS
. Alias for property N_INPUT_RAYS
.
N_VERTICES
VERTICES
Alias for property RAYS
.
Matrix<Scalar,NonSymmetric>
These properties capture information of the object that is concerned with the action of permutation groups.
GROUP
COORDINATE_ACTION
N_POINTS_GENERATORS
Alias for property N_INPUT_RAYS_GENERATORS
.
N_VERTICES_GENERATORS
Alias for property N_RAYS_GENERATORS
.
POINTS_GENERATORS
Alias for property INPUT_RAYS_GENERATORS
.
VERTICES_GENERATORS
Alias for property RAYS_GENERATORS
.
INPUT_POLYTOPES_ACTION
Alias for property INPUT_CONES_ACTION
.
MATRIX_ACTION_ON_COMPLEX
MatrixActionOnVectors<Scalar>
VERTICES_GENERATORS
Alias for property RAYS_GENERATORS
.
Matrix<OrbitGeneratorScalarType,NonSymmetric>
MAXIMAL_POLYTOPES_ACTION
MAXIMAL_POLYTOPES_GENERATORS
Alias for property MAXIMAL_CONES_GENERATORS
.
N_POINTS_GENERATORS
Alias for property N_INPUT_RAYS_GENERATORS
.
N_VERTICES_GENERATORS
Alias for property N_RAYS_GENERATORS
.
POINTS_GENERATORS
Alias for property INPUT_RAYS_GENERATORS
.
VERTICES_GENERATORS
Alias for property RAYS_GENERATORS
.
POINTS_ACTION
Alias for property INPUT_RAYS_ACTION
.
REPRESENTATIVE_VERTICES
Alias for property REPRESENTATIVE_RAYS
.
Matrix<Scalar,NonSymmetric>
VERTICES_ACTION
Alias for property RAYS_ACTION
.
INPUT_POLYTOPES_REPS
Alias for property INPUT_CONES_REPS
.
MAXIMAL_POLYTOPES_IN_ORBITS
Alias for property MAXIMAL_CONES_IN_ORBITS
.
MAXIMAL_POLYTOPES_ORBIT_SIZES
Alias for property MAXIMAL_CONES_ORBIT_SIZES
.
MAXIMAL_POLYTOPES_REPS
Alias for property MAXIMAL_CONES_REPS
.
MAXIMAL_POLYTOPES_REPS_AFFINE_SPAN_NORMALS
Alias for property MAXIMAL_CONES_REPS_LINEAR_SPAN_NORMALS
.
MAXIMAL_POLYTOPES_REPS_DIMS
Alias for property MAXIMAL_CONES_REPS_DIMS
.
MAXIMAL_POLYTOPES_REPS_FACETS
Alias for property MAXIMAL_CONES_REPS_FACETS
.
N_MAXIMAL_POLYTOPES_ORBITS
Alias for property N_MAXIMAL_CONE_ORBITS
.
N_VERTICES_ORBITS
Alias for property N_RAY_ORBITS
.
POINTS_REPS
Alias for property INPUT_RAYS_REPS
.
Matrix<Scalar,NonSymmetric>
POLYTOPES_ORBIT_SIZES
Alias for property CONES_ORBIT_SIZES
.
POLYTOPES_REPS
Alias for property CONES_REPS
.
REPS_AFFINE_SPAN_NORMALS
Alias for property REPS_LINEAR_SPAN_NORMALS
.
Matrix<Scalar,NonSymmetric>
VERTICES_IMAGES
Alias for property RAYS_IMAGES
.
VERTICES_IN_ORBITS
Alias for property RAYS_IN_ORBITS
.
VERTICES_ORBIT_SIZES
Alias for property RAYS_ORBIT_SIZES
.
VERTICES_REPS
Alias for property RAYS_REPS
.
Matrix<Scalar,NonSymmetric>
VERTICES_REPS_LABELS
Alias for property RAYS_REPS_LABELS
.
These properties are for visualization.
POINT_LABELS
Alias for property INPUT_RAY_LABELS
.
VERTEX_LABELS
Alias for property RAY_LABELS
.
These methods capture geometric information of the object. Geometric properties depend on geometric information of the object, like, e.g., vertices or facets.
AMBIENT_DIM()
Returns the dimension of the ambient space.
DIM()
Returns the dimension of the linear space spanned by the complex.
These methods are for visualization.
VISUAL_METRIC_TIGHT_SPAN()
This is a variation of VISUAL_BOUNDED_GRAPH
for the special case of a tight span. The vertices are embedded according to the metric, the others are hung in between. This only produces meaningful results for extended tight spans produced from metrics, e.g. through metric_extended_tight_span
.
VISUAL_ORBIT_COLORED_GRAPH()
Visualizes the graph of a symmetric cone: All nodes belonging to one orbit get the same color.
Visual::Graph::decorations
VISUAL()
Visualizes the polyhedral complex.
geometric_options