stacking two matrices



On Sat, Oct 27, 2007 at 09:02:00AM +0000, Wolfgang Lindner wrote:
> A:matrix([1,2],[3,4]) 
> B:matrix([5,6])
> A and B stacked should give:   matrix([1,2],[3,4],[5,6]) 

Try:

    (%i36) A:matrix([1,2],[3,4])$
    (%i37) B:matrix([5,6])$
    (%i38) addrow(A, B);
    (%o38) 
    [ 1  2 ]
    [      ]
    [ 3  4 ]
    [      ]
    [ 5  6 ]