transpose¶
-
void transpose() noexcept¶
Transposes the matrix in-place.
- Parameters
(None)
- Returns
(None)
- Exceptions
this function guarantees not to throw a
LibsemigroupsException
.- Complexity
\(O(n ^ 2)\) where \(n\) is the number of rows and the number of columns in the matrix.
Warning
This only works for square matrices.