transpose_matrix

compas.geometry.transpose_matrix(M)[source]

Transpose a matrix.

Parameters

M (sequence of sequence of float) – The matrix to be transposed.

Returns

list of list of float – The result matrix.