Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 18, 2024
1 parent 0a54568 commit badc20e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 8 additions & 2 deletions cython/pycddlib.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,10 @@ def matrix_canonicalize(mat: Matrix) -> tuple[Set[int], Set[int]]:


def matrix_adjacency(mat: Matrix) -> Sequence[Set[int]]:
"""Generate the adjacency facet/graph of a polyheron H/V-represented by *mat*.
"""Generate the input adjacency of the polyhedron represented by *mat*.

H-representation: For each face, list adjacent faces.
V-representation: For each vertex, list adjacent vertices.

.. note::

Expand All @@ -375,7 +378,10 @@ def matrix_adjacency(mat: Matrix) -> Sequence[Set[int]]:
return _get_dd_setfam(dd_setfam)

def matrix_weak_adjacency(mat: Matrix) -> Sequence[Set[int]]:
"""Generate the weak-adjacency facet/graph of a polyheron H/V-represented by *mat*.
"""Generate the weak input adjacency of the polyhedron represented by *mat*.

H-representation: For each face, list adjacent faces.
V-representation: For each vertex, list adjacent vertices.

.. note::

Expand Down
7 changes: 6 additions & 1 deletion docs/source/cdd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,14 @@ Functions
---------

.. autofunction:: matrix_append_to
.. autofunction:: matrix_canonicalize
.. autofunction:: matrix_copy

.. autofunction:: matrix_adjacency
.. autofunction:: matrix_weak_adjacency

.. autofunction:: matrix_canonicalize
.. autofunction:: matrix_rank

.. autofunction:: linprog_solve

.. autofunction:: copy_input
Expand Down

0 comments on commit badc20e

Please sign in to comment.