1

So, I have 3 matrices let's say a,b,c, which have the following shapes:

a: (6, 6)
b: (9, 9) 
c: (6, 9)

I want to create the following matrix:

d = np.matrix([[a, c], [c.T, b]])

But I get the following error and I cannot find the solution:

ValueError: setting an array element with a sequence.

I am out of ideas and cannot find anything similar on Google.

Nikos
  • 198
  • 1
  • 9

0 Answers0