Language Reference
T Function
T (matrix) ;
This function is supported by the IML procedure and the iml action.
The T (transpose) function returns the transpose of its argument. You can also use the transpose operator (‘) to transpose a matrix.
For example, the following statements transpose a matrix:
x = {1 2, 3 4, 5 6};
y = t(x);
print y;
Figure 453: Matrix Transpose
| y | ||
|---|---|---|
| 1 | 3 | 5 |
| 2 | 4 | 6 |
Last updated: April 16, 2021