Opened 12 years ago

Closed 12 years ago

#8936 closed enhancement (fixed)

Expose facet inequalities for lattice polytopes

Reported by: novoselt Owned by: mhampton
Priority: major Milestone: sage-4.4.4
Component: geometry Keywords:
Cc: vbraun Merged in: sage-4.4.4.alpha0
Authors: Andrey Novoseltsev Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

While lattice polytopes compute and store facet normals and shifts internally, there were no functions to access them. This patch adds functions facet_normal and facet_constant to fix the situation.

I have also fixed a typo in the docstring of ReflexivePolytope, which has probably occurred during automatic conversion of docstrings.

Attachments (1)

trac_8936_expose_facet_inequalities_for_lattice_polytopes.patch (4.7 KB) - added by novoselt 12 years ago.
Fixed a mistake in the first version…

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by novoselt

  • Authors set to Andrey Novoseltsev
  • Status changed from new to needs_review

Changed 12 years ago by novoselt

Fixed a mistake in the first version...

comment:2 Changed 12 years ago by vbraun

  • Cc vbraun added
  • Status changed from needs_review to positive_review

Straight-forward addition of new functionality to the LatticePolytope? class. Please merge...

comment:3 Changed 12 years ago by novoselt

  • Reviewers set to Volker Braun
  • Type changed from defect to enhancement

comment:4 Changed 12 years ago by mhansen

  • Merged in set to sage-4.4.4.alpha0
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.