extension: 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) → 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, equipped with a GROUP
    Options
    Boolv_to_h
    1 (default) if converting V to H, false if converting H to V
    Stringmethod
    specifies sympol's method of ray computation via 'lrs' (default), 'cdd', 'beneath_beyond', 'ppl'
    Returns
    Pair
    (Matrix<Rational> vertices/inequalities, Matrix<Rational> lineality/equations)