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 to n. No checks are performed.

Complexity

Constant.

Exceptions

This function is noexcept and is guaranteed never to throw.

Parameters

n – the number of blocks.

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 to n. No checks are performed.

Complexity

Constant.

Exceptions

This function is noexcept and is guaranteed never to throw.

Parameters

n – the number of blocks.

Returns

(None)

void libsemigroups::Bipartition::set_rank(size_t n) noexcept

Set the rank.

This function sets the rank of this to n. No checks are performed.

Complexity

Constant.

Exceptions

This function is noexcept and is guaranteed never to throw.

Parameters

n – the rank.

Returns

(None)