Method Array.transpose()


Method transpose

array(array) transpose(array(array) matrix)

Description

Takes an array of equally sized arrays (essentially a matrix of size M*N) and returns the transposed (N*M) version of it, where rows and columns are exchanged for one another.