Numpy, Is it possible to sum over specific elements of a matrix (2 dimensional array) given a list of indexes?

前端 未结 0 1092
时光说笑
时光说笑 2020-12-12 14:24

After some research, I could not use function sum of Numpy successfully to solve my problem. I give here a really basic example (the matrix I am targetting is huge

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