CoCoA:Transposed

From ApCoCoAWiki
(Redirected from ApCoCoA-1:Transposed)

Transposed

the transposition of a matrix

Description

This function returns the transpose of the matrix M.

Example

  M := Mat([[1,2,3],[4,5,6]]);
  M;
Mat([
  [1, 2, 3],
  [4, 5, 6]
])
-------------------------------
  Transposed(M);
Mat([
  [1, 4],
  [2, 5],
  [3, 6]
])
-------------------------------

Syntax

Transposed(M:MAT):MAT
   <type>matrix</type>