[back] [prev] [next] [index] [root]

 


MatTrans

Returns the tranpose of a matrix.

Syntax:

A := MatTrans(M);

matrix
  A  
matrix
  M  

Description:

Returns the transposed matrix A of M.


Example:

Compute the transpose of the integer matrix \left(\begin{array}{ccc} 1 & 2 & 4 1 & 3 & 9 \end{array}right).

kash> M := Mat(Z,[[1,2,4],[1,3,9]]);
[1 2 4]
[1 3 9]
kash> MatTrans(M);
> [1 1]
[2 3]
[4 9]


<- back[back] [prev] [next] [index] [root]