Skip to content

Commit

Permalink
Document the new function.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 19, 2024
1 parent 56d0b82 commit 2eefff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cython/pycddlib.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ def matrix_append_to(mat1: Matrix, mat2: Matrix) -> None:
def redundant(
mat: Matrix, row: int, strong: bool = False
) -> tuple[bool, Sequence[NumberType]]:
"""Checks whether *row* is (strongly) redundant for the representation *mat*.
"""Checks whether *row* is
(strongly if *strong* is ``True``) redundant for the representation *mat*.
Linearity rows are not checked
i.e. *row* should not be in the :attr:`~cdd.Matrix.lin_set`.

Expand Down
2 changes: 2 additions & 0 deletions docs/source/cdd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ Functions
.. autofunction:: matrix_canonicalize
.. autofunction:: matrix_rank

.. autofunction:: redundant

.. autofunction:: linprog_solve

.. autofunction:: copy_input
Expand Down

0 comments on commit 2eefff2

Please sign in to comment.