commands → transpose

transpose(A)

The transpose command computes the transpose of a matrix A.

Examples

transpose([[1,2],[3,4]]);
	[[1,3],[2,4]]