How to copy lower triangle to upper triangle for a 4 dimension array in Numpy Python?

后端 未结 0 1159
半阙折子戏
半阙折子戏 2020-11-28 23:26

The objective is to copy the lower triangle to upper triangle. Based on the suggestion produced in the OP, the following code was drafted.

import numpy as np
         


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