Function util::transpose¶
Defined in File util.h
Function Documentation¶
-
auto util::transpose(const std::vector<std::vector<double>> &M) -> std::vector<std::vector<double>>¶
Compute the transpose of a matrix.
- Parameters:
M – Input matrix.
- Returns:
Transposed matrix.