transpose_matrix

compas.geometry.transpose_matrix(M)[source]

Transpose a matrix.

Parameters:
Mlist[list[float]] | compas.geometry.Transformation

The matrix to be transposed.

Returns:
list[list[float]]

The result matrix.