Skip to content

Implement is_pyramid, is_bipyramid, is_prism for polytopes #27689

@LaisRast

Description

@LaisRast

Implement the following methods in geometry/polyhedron/base.py:

  • is_pyramid: test whether the polytope is a pyramid over one of its facets
  • is_bipyramid: test whether the polytope is combinatorially equivalent to a bipyramid over some polytope
  • is_prism: test whether the polytope is combinatorially equivalent to a prism of some polytope

CC: @jplab @kliem

Component: geometry

Keywords: polytopes, pyramid, bipyramid, prism, days100

Author: Laith Rastanawi, Jonathan Kliem

Branch/Commit: 5764ce4

Reviewer: Jean-Philippe Labbé

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions