In built or module function that can create a point source nxn array?

后端 未结 0 709
失恋的感觉
失恋的感觉 2020-12-10 22:25

Just wondering if there\'s a function that can produce an nxn array where the centre has the maximum value, and the edges have a value of 0 like so:

0 0 0 0 0         


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