Skip to content

Commit 615c66c

Browse files
hpcombi: support Vect16 + PTransf16 + Transf16
1 parent e813409 commit 615c66c

File tree

12 files changed

+1738
-2
lines changed

12 files changed

+1738
-2
lines changed

docs/source/data-structures/elements/transformations/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ This page describes the functionality for various partial transformations in
1818
pperm
1919
transf
2020
helpers
21+
22+
See also :any:`hpcombi.PTransf16`.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
..
2+
Copyright (c) 2021-2024 J. D. Mitchell
3+
4+
Distributed under the terms of the GPL license version 3.
5+
6+
The full license is in the file LICENSE, distributed with this software.
7+
8+
.. currentmodule:: libsemigroups_pybind11
9+
10+
HPCombi
11+
=======
12+
13+
This page describes the functionality from ``HPCombi`` available in
14+
``libsemigroups_pybind11``. This functionality is only available if
15+
:any:`LIBSEMIGROUPS_HPCOMBI_ENABLED` is ``True``.
16+
17+
.. py:attribute:: LIBSEMIGROUPS_HPCOMBI_ENABLED
18+
:type: bool
19+
20+
This variable indicates whether or not the version of ``libsemigroups``
21+
being used by ``libsemigroups_pybind11`` was compiled with ``HPCombi``
22+
enabled.
23+
24+
.. toctree::
25+
:maxdepth: 1
26+
27+
ptransf16
28+
transf16
29+
vect16
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
..
2+
Copyright (c) 2025 J. D. Mitchell
3+
4+
Distributed under the terms of the GPL license version 3.
5+
6+
The full license is in the file LICENSE, distributed with this software.
7+
8+
.. currentmodule:: libsemigroups_pybind11.hpcombi
9+
10+
The PTransf16 class
11+
===================
12+
13+
.. autoclass:: PTransf16
14+
:doc-only:
15+
16+
Contents
17+
--------
18+
19+
.. autosummary::
20+
:signatures: short
21+
22+
~PTransf16
23+
PTransf16.domain_bitset
24+
PTransf16.domain_mask
25+
PTransf16.fix_points_bitset
26+
PTransf16.fix_points_mask
27+
PTransf16.image_bitset
28+
PTransf16.image_mask
29+
PTransf16.image_mask_ref
30+
PTransf16.largest_fix_point
31+
PTransf16.largest_moved_point
32+
PTransf16.left_one
33+
PTransf16.nb_fix_points
34+
PTransf16.one
35+
PTransf16.rank
36+
PTransf16.rank_cmpestrm
37+
PTransf16.rank_ref
38+
PTransf16.right_one
39+
PTransf16.smallest_fix_point
40+
PTransf16.smallest_moved_point
41+
PTransf16.validate
42+
43+
Full API
44+
--------
45+
46+
.. autoclass:: PTransf16
47+
:class-doc-from: init
48+
:members:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
..
2+
Copyright (c) 2025 J. D. Mitchell
3+
4+
Distributed under the terms of the GPL license version 3.
5+
6+
The full license is in the file LICENSE, distributed with this software.
7+
8+
.. currentmodule:: libsemigroups_pybind11.hpcombi
9+
10+
The Transf16 class
11+
==================
12+
13+
.. autoclass:: Transf16
14+
:doc-only:
15+
16+
Contents
17+
--------
18+
19+
.. autosummary::
20+
:signatures: short
21+
22+
~Transf16
23+
24+
Full API
25+
--------
26+
27+
.. autoclass:: Transf16
28+
:class-doc-from: init
29+
:members:
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
..
2+
Copyright (c) 2025 J. D. Mitchell
3+
4+
Distributed under the terms of the GPL license version 3.
5+
6+
The full license is in the file LICENSE, distributed with this software.
7+
8+
.. currentmodule:: libsemigroups_pybind11.hpcombi
9+
10+
The Vect16 class
11+
================
12+
13+
.. autoclass:: Vect16
14+
:doc-only:
15+
16+
Contents
17+
--------
18+
19+
.. autosummary::
20+
:signatures: short
21+
22+
~Vect16
23+
Vect16.eval16
24+
Vect16.first_diff
25+
Vect16.first_non_zero
26+
Vect16.first_zero
27+
Vect16.is_permutation
28+
Vect16.last_diff
29+
Vect16.last_non_zero
30+
Vect16.last_zero
31+
Vect16.less_partial
32+
Vect16.partial_sums
33+
Vect16.sum
34+
35+
Full API
36+
--------
37+
38+
.. autoclass:: Vect16
39+
:class-doc-from: init
40+
:members:

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ We would like to thank the authors and contributors of these projects!
139139
data-structures/constants/index
140140
data-structures/elements/index
141141
data-structures/enums/index
142+
data-structures/hpcombi/index
142143
data-structures/order/index
143144
data-structures/presentations/index
144145
data-structures/suffix-trees/index

0 commit comments

Comments
 (0)