I have two matrices, A and B. A and B are each 100 x 100. I am trying to produce a combined matrix AB such that is 200 x 100 with the elements of A in the first 100 x 100 and the elements of B in the second 100 x 100.
I tried doing the following, but it says the shape is (2, 1, 500, 500) when I do this in Python.
def get_bigAB(n, lamb):
return np.array([[A], [get_B(n, lamb)]])
My entries are floats, not simple integers.
My get_B function performs as expected, and of course, I am using Python 3.