In place update columns of a matrix

前端 未结 0 1759
我寻月下人不归
我寻月下人不归 2021-02-20 06:00

I\'m trying to optimize the speed and allocation of this loop

function loop(n,k)
    m = rand(10,n)
    r = rand(10,1)
    for j in 1:k
        for i in 2:size(m,         


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