Pike v8.0 release 1738

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.