n = 3 #size of a block we need to sum over total = 4 #total required sums ncols = n*total nrows = 10 x = np.array([np.arange(ncols)]*nrows) result ...
確定! 回上一頁