How can I define a 3d array from a 2d array that depends on a parameter?
How can I define a 3d array from a 2d array that depends on a parameter? Question: I have a matrix with 2 dimensions M = np.array([[0.5+t, 1, 1], [0.5, 0.5, t], [0.5, 1-t, 0.5]]) I want to compute some properties of this matrix for several values of $t$. I could do it witn a …