Julia, @view to prevent production of a new array

前端 未结 0 2033
执笔经年
执笔经年 2021-01-28 23:29

My old friend the 3d array called Pop, I want to remove columns (d2), across all of d3 when the value in the end of d1 == 1, so I have this code:

Pop[end, :, 1] .         


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