C++ product coordinates
- PPL-LLR-000074 Intersection meaning of product domains (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000429 Lifted operations on finite pointset powersets (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
- PPL-LLR-000443 Dimension-preserving coordinate forgetting (Specifies)
- PPL-LLR-000444 Concatenation, coordinate expansion and folding (Specifies)
Coordinate members shall perform the corresponding base operation on both components with identical indices, counts and maps. Growth shall add free coordinates for embedding and zero coordinates for projecting growth. Removal and mapping shall existentially eliminate omitted coordinates and compact or permute retained coordinates. Expansion and folding shall use the base independent-copy and merge semantics. Cylindrification shall reduce first and free selected coordinates without changing dimension. Results shall soundly contain the corresponding transformation of the old intersection; exact base projections alone shall not establish exact product projection. Both components shall retain equal ambient dimension on successful return. Variable/map admission and structural dimension limits shall follow both base contracts.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
Existential coordinate operations can lose conjunction correlations when applied independently to components.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Partially_Reduced_Product unless qualified otherwise.
void unconstrain(Variable); void unconstrain(const Variables_Set&); void add_space_dimensions_and_embed(dimension_type); void add_space_dimensions_and_project(dimension_type); void remove_space_dimensions(const Variables_Set&); void remove_higher_space_dimensions(dimension_type); template <typename Partial_Function> void map_space_dimensions(const Partial_Function&); void expand_space_dimension(Variable, dimension_type); void fold_space_dimensions(const Variables_Set&, Variable);
Check all members, coordinate order and dimensions, relational projection examples, empty values, invalid variables and growth bounds.
src/Partially_Reduced_Product_defs.hh; src/Partially_Reduced_Product_inlines.hh; src/Partially_Reduced_Product_templates.hh; src/Partially_Reduced_Product_types.hh; tests/Partially_Reduced_Product/spacedims1.cc.
- PPL-LLR-000074 Intersection meaning of product domains (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000429 Lifted operations on finite pointset powersets (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
- PPL-LLR-000444 Concatenation, coordinate expansion and folding (Specifies)
Concatenation shall concatenate corresponding components in receiver- then-argument coordinate order. The resulting common dimension shall be the sum, subject to both structural limits. With exact component concatenation the intersection shall represent the exact Cartesian product of the input product sets, because the coordinate blocks are independent. Self-concatenation shall be supported. Lazy reduction state shall be retained only when both operands are already marked reduced; component limit errors may propagate without rollback.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
Cartesian products on disjoint coordinate blocks commute with component conjunction.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Partially_Reduced_Product unless qualified otherwise.
void concatenate_assign(const Partially_Reduced_Product&);
Check coordinate order, separate restrictions, empty and self inputs, reduction-state combinations and excessive extents.
src/Partially_Reduced_Product_defs.hh; src/Partially_Reduced_Product_inlines.hh; src/Partially_Reduced_Product_templates.hh; src/Partially_Reduced_Product_types.hh; tests/Partially_Reduced_Product/concatenate1.cc.