A = np.matrix('3 1; 8 2')
B = np.matrix('6 1; 7 9')
A@B
matrix([[25, 12],
        [62, 26]])

相关文章: