np.concatenate

np.concatenate(arrays, axis=0)

Concatenates the input arrays along the given axis.

See: https://numpy.org/doc/stable/reference/generated/numpy.concatenate.html

Examples

In [1]: GF = galois.GF(2**3)

In [2]: A = GF.Random((2,2)); A
Out[2]: 
GF([[0, 1],
    [4, 1]], order=2^3)

In [3]: B = GF.Random((2,2)); B
Out[3]: 
GF([[3, 1],
    [3, 2]], order=2^3)

In [4]: np.concatenate((A,B), axis=0)
Out[4]: 
GF([[0, 1],
    [4, 1],
    [3, 1],
    [3, 2]], order=2^3)

In [5]: np.concatenate((A,B), axis=1)
Out[5]: 
GF([[0, 1, 3, 1],
    [4, 1, 3, 2]], order=2^3)