transpose¶
-
void transpose() noexcept¶
Transposes the matrix in-place.
- Parameters:
(None)
- Returns:
(None)
- Exceptions:
this function guarantees not to throw a
LibsemigroupsException.- Complexity:
\(O(mn)\) where \(m\) is the template parameter
Rand \(n\) is the template parameterC.
Warning
This only works when the template parameters
RandCare equal (i.e. for square matrices).