random(size_t)

static BMat8 libsemigroups::BMat8::random(size_t dim)

Construct a random BMat8 of dimension at most dim.

This static member function returns a BMat8 chosen at random, where only the top-left dim x dim entries can be non-zero.

Exceptions

This function guarantees not to throw a LibsemigroupsException.

Parameters

(None)

Returns

A BMat8.