nr_rows

size_t libsemigroups::BMat8::nr_rows() const

Returns the number of non-zero rows in this.

BMat8s do not know their “dimension” - in effect they are all of dimension 8. However, this member function can be used to obtain the number of non-zero rows of this.

Return

A size_t.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

Parameters

(None)

See

bmat8_helpers::nr_cols and bmat8_helpers::minimum_dim.