Question
numpy 2d array into block matrix
Given a 2x6 array like below
x = np.array([[0,1,2,3,4,5],[6,7,8,9,10,11]])
How do I convert this in to 6x6 matrix with block diagonal filled with above array
Input
output I am expecting
I got the below error while trying to post this. Your post is mostly images. Add additional details to explain the problem and expected results. Please ignore this last bit
2 40
2