Synopsis:
f||g -- yields the matrix obtained from matrices f and g by concatenating the columns.
i1 : R = ZZ[a..h]; |
i2 : p = matrix {{a,b},{c,d}} |
i3 : q = matrix {{e,f},{g,h}} |
i4 : p || q |
If one of the arguments is ring element or an integer, then it will be multiplied by a suitable identity matrix.
i5 : p || 33 |
See also:
Code:
-- ../../../Macaulay2/m2/matrix.m2:393 Matrix || Matrix := Matrix => (f,g) -> concatRows(f,g)