Previous Up Next

2.43.1  Transpose of a matrix : tran transpose

tran or transpose takes as argument a matrix A.
tran or transpose returns the transpose matrix of A.
Input :

tran([[1,2],[3,4]])

Output :

[[1,3],[2,4]]

Previous Up Next