Skip to content

CombinatorialPolyhedron: length_* to n_* #28614

@kliem

Description

@kliem

To make CombinatorialPolyhedron more consistent with Polyhedron we change the following names.

  • length_Hrepr -> n_Hrepresentation
  • length_Vrepr -> n_Vrepresentation

In FaceIterator:

In CombinatorialFace:

  • length_Vrepr -> n_ambient_Vrepresentation
  • length_Hrepr -> n_ambient_Hrepresentation
    As both methods are public we keep the old methods with deprecation warnings.

As a follow up in #28615 we need to fix the alignment in src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pxd. Fixing it in this ticket would lead to merge conflicts and as its trivial, we can easily do it later.

CC: @jplab @LaisRast

Component: geometry

Keywords: polytopes, combinatorial polyhedron

Author: Jonathan Kliem

Branch/Commit: 2ad0ec0

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/28614

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions