python两个三阶矩阵相乘
python两个三阶矩阵相乘
import numpy as np matrix1 = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) matrix2 = np.array([[9, 8, 7], [6, 5, 4], [3, 2, 1]]) result = np.dot(matrix1, matrix2) print(result)
#########################
QQ 3087438119