矩阵积 import numpy as npa = np.array([[1,2],[3,4]])b = np.array([[5,6],[7,8]])print(np.vdot(a,b)) # vdot() 矩阵点积# 矩阵点积计算:对应元素乘积之和,如例结果为:1*5+2*6+3*7+4*8pr Read More
posted @ 2020-01-09 23:34 saber゛ Views(309) Comments(0) Diggs(0) Edit