Julia using argmax to return index within a row of a matrix instead of a CartesianIndex

前端 未结 0 355
别那么骄傲
别那么骄傲 2021-01-19 03:25

Say I have a matrix

X = [1 2 3 4; 1 4 3 2];

I would like to find the argmax of each row of this matrix, relative to that row and not the inde

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