Setters¶
This page contains information about functions that allow attributes of a Bipartition
to be set.
-
void libsemigroups::Bipartition::set_number_of_blocks(size_t n) noexcept¶
Set the number of blocks.
This function sets the number of blocks of
this
ton
. No checks are performed.- Complexity
Constant.
- Parameters
n – the number of blocks.
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
(None)
-
void libsemigroups::Bipartition::set_number_of_left_blocks(size_t n) noexcept¶
Set the number of left blocks.
This function sets the number of left blocks of
this
ton
. No checks are performed.- Complexity
Constant.
- Parameters
n – the number of blocks.
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
(None)
-
void libsemigroups::Bipartition::set_rank(size_t n) noexcept¶
Set the rank.
This function sets the
rank
ofthis
ton
. No checks are performed.- Complexity
Constant.
- Parameters
n – the rank.
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
(None)