Language Reference

T Function

transposes a matrix

T( matrix)

where matrix is a numeric or character matrix or literal.

The T (transpose) function returns the transpose of its argument. It is equivalent to the transpose operator as written with a transpose postfix operator (`), but since some keyboards do not support the backquote character, this function is provided as an alternate.

For example, the following statements produce the matrix y, as shown:

    x={1 2, 3 4}; 

                 Y             2 rows      2 cols    (numeric) 
                                      1         3 
                                      2         4

Previous Page | Next Page | Top of Page