transpose - chung-leong/qb GitHub Wiki
transpose - Matrix transpose
float[][] transpose( float[][] $m )
transpose() returns the transpose of matrix m.
Parameters:
m - The matrix. It can be a single two-dimensional array or an array of two-dimensional arrays.
Return Value:
Transpose of m. If m contains multiple matrices, the return value will also be an array of matrices.
Version
1.0 and above.