例如
a = np.matrix('1 0; 0 4') b = mp.matrix('13 17;19 23')
通过执行我将获得的操作:
c = [[1 17] [19 4]]
python numpy matrix
matrix ×1
numpy ×1
python ×1