Y
Hacker News
new
|
ask
|
show
|
jobs
by
Schiphol
1995 days ago
The usual matrix notation is a_ij for the element in the ith row and the jth column. If you order axes in this way you get the numpy convention.
1 comments
Ultcyber
1995 days ago
that's what I mean - in this sense, the axis 0 should be row, but instead it's column in numpy
link
Schiphol
1995 days ago
The way I think about it is: as you change the 0th index you move up and down the column. Same with the 1st index and the row. That's how I remember it anyway!
link
bonoboTP
1995 days ago
Think about multidimensional arrays, not just matrices. How would your convention work there?
link