3 ms·
This doesn't tell us anything about memory layout though. If a mathematician actually has to write out their matrices, they do it on a piece of paper. Because
by bee_rider 4y ago
This doesn't tell us anything about memory layout though.
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/documentation/onemkl-developer-reference-c/top/blas-and-sparse-blas-routines/blas-routines/blas-level-3-routines/cblas-gemm.html https://www.intel.com/content/www/us/en/develop/documentatio...