up previous next
ConcatHorList

create a simple block matrix

Syntax
ConcatHorList(L: LIST of MAT): MAT

where the matrices in L have the same number of rows

Description
This function creates a simple block matrix. The entries in the list are matrices with the same number of rows. ConcatHorList(L) will return a matrix of the form
                | L[1] L[2] .. L[N] |


Example
/**/  L := [ mat([[1,2,3], [4,5,6]]), mat([[101,102], [103,104]]) ];
/**/  ConcatHorList(L);
matrix(QQ,
 [[1, 2, 3, 101, 102],
  [4, 5, 6, 103, 104]])

See Also