I'm trying to create a list of 3x3 matrices; but the initialization isn't working. Just wondering what I'm doing wrong. Managed to isolate the error in a 2-line program.
import numpy as np
delta=[np.empty(3,3) for i in range(1023)]
I get TypeError: data type not understood. What went wrong and what's the right way to do this?
Thanks