Opened 3 years ago

Last modified 3 years ago

#28828 closed defect

Attributes of polyhedra are exposed — at Version 1

Reported by: gh-kliem Owned by:
Priority: major Milestone: sage-9.0
Component: geometry Keywords: polyhedron, exposed attributes
Cc: Jean-Philippe Labbé, Laith Rastanawi Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by gh-kliem)

Currently the f_vector is exposed.

sage: P = polytopes.simplex()
sage: P.f_vector()[0] = 2
sage: P.f_vector()
(2, 4, 6, 4, 1)

Same applies for

  • incidence matrix,
  • vertex-facet graph,
  • vertices matrix,
  • vertex adjacency matrix,
  • facet adjacency matrix,
  • gale transform.

Some of the above are probably more relevant than others.

Change History (1)

comment:1 Changed 3 years ago by gh-kliem

Authors: Jonathan Kliem
Description: modified (diff)
Keywords: exposed attributes added; f_vector removed
Summary: f_vector is exposedAttributes of polyhedra are exposed
Note: See TracTickets for help on using tickets.