| Calling Sequence | transpose(A)
A^T A^t | |||||||||
| Parameters |
| |||||||||
| Return Type | matrix(anything) | |||||||||
| Synopsis | Computes the transpose, A^T, of a matrix A. (The transpose of a matrix is produced by replacing entry A_ij with entry A_ji for all i, j.) Transposition can also be achieved through the use of the exponent T or t. For this to work properly, T or t must not be assigned. Transpose will also work for higher order arrays. | |||||||||
| Examples | > A := transpose([[1, 2, 3], [4, 5, 6], [7, 8, 9]]); A := [[1, 4, 7], [2, 5, 8], [3, 6, 9]] > A^t; [[1, 2, 3], [4, 5, 6], [7, 8, 9]] | |||||||||
| See also | Cholesky, convolve, Eigenvalues, GaussElim, GivensElim, Identity, matrix, matrix_inverse | |||||||||