Hey! Don't just blame the mathematicians, if it were up to them you could notate column vectors as actual columns.
Mathematicians use row-major indexing just like any sensible person.
Mathematicians use row-major indexing just like any sensible person.
If a mathematician actually has to write out their matrices, they do it on a piece of paper. Because it is a 2D medium, the each element can have two "neighbors" on in the next row, and one in the next column.
If they do their math on a computer, they have the same problem as the rest of us -- but, they probably just use BLAS, which is typically column major. Although, I think some of the more modern BLAS spinoffs accept a layout option:
https://www.intel.com/content/www/us/en/develop/documentatio...