Previous Page | Next Page

Language Reference

T Function

T( matrix ) ;

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 , as shown:

   x={1 2, 3 4};
   y=t(x);
                Y             2 rows      2 cols    (numeric)

                                     1         3
                                     2         4
Previous Page | Next Page | Top of Page