Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'u/gh-kliem/merge_edges_ridges_f_vector' of git://trac.s…
Browse files Browse the repository at this point in the history
…agemath.org/sage into u/gh-kliem/merge_edges_ridges_f_vector
  • Loading branch information
Jonathan Kliem committed Jan 7, 2021
2 parents 9d686f2 + 8814532 commit cbc711d
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 219 deletions.
13 changes: 10 additions & 3 deletions src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,16 @@ cdef class CombinatorialPolyhedron(SageObject):
cdef tuple _mem_tuple

cdef FaceIterator _face_iter(self, bint dual, int dimension)
cdef int _compute_f_vector(self) except -1
cdef int _compute_edges(self, dual) except -1
cdef int _compute_ridges(self, dual) except -1
cdef int _compute_f_vector(self, bint compute_edges=*, given_dual=*) except -1

cdef inline int _compute_edges(self, dual) except -1:
return self._compute_edges_or_ridges(dual, True)

cdef inline int _compute_ridges(self, dual) except -1:
return self._compute_edges_or_ridges(dual, False)

cdef int _compute_edges_or_ridges(self, bint dual, bint do_edges) except -1
cdef size_t _compute_edges_or_ridges_with_iterator(self, FaceIterator face_iter, bint do_atom_rep, size_t ***edges_pt, size_t *counter_pt, size_t *current_length_pt, MemoryAllocator mem) except -1
cdef int _compute_face_lattice_incidences(self) except -1

cdef inline int _set_edge(self, size_t a, size_t b, size_t ***edges_pt, size_t *counter_pt, size_t *current_length_pt, MemoryAllocator mem) except -1
Expand Down
Loading

0 comments on commit cbc711d

Please sign in to comment.