extension: bundled:sympol

application: polytope

User Functions

  •  
    linear_symmetries ()

    wrapper function to store the symmetry group in the parent object

  •  
    linear_symmetries (m) → group::Group

    Use sympol to compute the linear symmetries of - the rows of a rational matrix m, or - the RAYS|VERTICES, FACETS, or POINTS of a rational cone or polytope C (whatever is available, in this order), or - the VECTORS|POINTS of a rational vector or point configuration P. Except for matrices, the action of the symmetry group is stored inside the parent object. In the case of cones, sympol might compute only a subset of the linear symmetry group. Sympol, and therefore this function, can only handle rational objects.

    Parameters
    Matrixm
    | Cone C | VectorConfiguration P
    Returns
    group::Group
    the linear symmetry group, together with a PERMUTATION_ACTION, VERTEX_ACTION, FACETS_ACTION, or VECTOR_ACTION

    Example:
  •  
    representation_conversion_up_to_symmetry (c, a, v_to_h, rayCompMethod) → Pair

    Computes the dual description of a polytope up to its linear symmetry group.

    Parameters
    Conec
    the cone (or polytope) whose dual description is to be computed
    group::Groupa
    symmetry group of the cone c
    Boolv_to_h
    true (default) if converting V to H, false if converting H to V
    IntrayCompMethod
    specifies sympol's method of ray computation via lrs(0) (default), cdd(1), beneath_and_beyond(2), ppl(3)
    Returns
    Pair
    (Matrix<Rational> vertices/inequalities, Matrix<Rational> lineality/equations)