(Nov-05-2020, 08:47 PM)deanhystad Wrote: Don't PM. This all works better when everyone can participate.
Was the problem with transpose that m and m.T reference the same array? If that is a problem, use copy().
import numpy as np m = [] rows = 64 cols = 64 for r in range(rows): m.append([r*cols+c for c in range(cols)]) m = np.array(m) mT = m.T.copy() # Get a copy mT[1][1] = 0 print(mT - m.T)
Hello
Thanks for the answer but the problem is that I cannot bring together 64*1 matrices for creating 64*64 matrix. And I have 64*1 matrices but when I add these 64*1 matrices they are becoming 1*64 matrices and this is very weird By the way I already pasted my code. I didnt understand your example.