D.3.1.2 concat
..............
Procedure from library matrix.lib (see matrix_lib).

Usage:
concat(A1,A2,..); A1,A2,... matrices

Return:
matrix, concatenation of A1,A2,.... Number of rows of result matrix
is max(nrows(A1),nrows(A2),...)

Example:
LIB "matrix.lib";
ring r=0,(x,y,z),ds;
matrix A[3][3]=1,2,3,x,y,z,x2,y2,z2;
matrix B[2][2]=1,0,2,0; matrix C[1][4]=4,5,x,y;
print(A);
==> 1, 2, 3,
==> x, y, z,
==> x2,y2,z2
print(B);
==> 1,0,
==> 2,0 
print(C);
==> 4,5,x,y
print(concat(A,B,C));
==> 1, 2, 3, 1,0,4,5,x,y,
==> x, y, z, 2,0,0,0,0,0,
==> x2,y2,z2,0,0,0,0,0,0 

<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
