transpose-matrix

Guide: guide/algorithms/transpose-matrix

Signature:

transposeMatrix(matrix);

Params:

NameTypeRequiredDefaultDescription
matrixTypeArrayMatrix+Must be matrix N*N

Returns:

TypeArrayMatrix


Throws:

IllegalAgrumentException when given array is not a matrix