CoCoA:Transposed

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>