CoCoA:MatConcatVer

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)

MatConcatVer

create a simple block matrix

Description

This function creates a simple block matrix. The two entries are

matrices (or lists cast-able to a matrix) with the same number of

columns. MatConcatVer(A,B) will return a matrix of the form <verbatim>

               | A |
               | B |

</verbatim>

Example

  A := [[1,2,3], [4,5,6]];
  B := [[101,102,103]];
  MatConcatVer(A,B);
Mat([
  [1, 2, 3],
  [4, 5, 6],
  [101, 102, 103]
])
-------------------------------

Syntax

MatConcatVer(A:LIST,MAT, B:LIST,MAT):MAT

where A and B have the same number of columns

BlockMatrix

ColMat

MakeMatByRows, MakeMatByCols

MatConcatAntiDiag

MatConcatDiag

MatConcatHor

   <type>list</type>
   <type>matrix</type>