Multiply each element of 2 numpy arrays and then sum up

后端 未结 0 1767
名媛妹妹
名媛妹妹 2020-12-05 02:01

Basically I have two 1d numpy arrays, let\'s call them x and y, both of the same length. I want to essentially get the result x1y1 + x2y2 + ... + xn*yn. Obviously I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题