Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Schiphol
· 5y ago · 0 comments
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.
Comments
[–]
Ultcyber
5y ago
that's what I mean - in this sense, the axis 0 should be row, but instead it's column in numpy
[–]
Schiphol
OP
5y 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!
[–]
bonoboTP
5y ago
Think about multidimensional arrays, not just matrices. How would your convention work there?