Contents Previous Next Subchapters

Matrix Transpose
Syntax value'
See Also conj

Description
Transposes the rows and columns of value, where value is an logical, character, integer, real double-precision or complex matrix.

Tutorial
If you enter
     x = {[1, 2], [3, 4]}
     print x'
O-Matrix will respond
     {
     [ 1 , 3 ]
     [ 2 , 4 ]
     }
The transpose operator interchanges the row and column dimensions. For example,
     x = {[1, 2], [3, 4], [5, 6]}
     print x'
will result in
     {
     [ 1 , 3 , 5 ]
     [ 2 , 4 , 6 ]
     }