Optimizing a Matrix operation in Python

后端 未结 0 864
感动是毒
感动是毒 2020-12-02 13:16

I have two nxm matrices in binary, call them A and B. For every element in B, I want to find the corresponding element in A and, if this element in B is 1, flip the element

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