rows

template<typename T>
void rows(T &x) const

Add row views for every row in the matrix to the container T.

Parameters

x – a container

Returns

(None)

Exceptions

this function guarantees not to throw a LibsemigroupsException.

Complexity

\(O(m)\) where \(m\) is the template parameter R