Hacker News new | ask | show | jobs
by hogepodge 373 days ago
You're right that a good graph compiler will do this for you. There still may be times, like if you're interfacing with another library, where you'll need to switch a matrix between row major or column major layouts.
1 comments

Serious linear algebra libraries expect a flag that tells if elements are column-major or row-major.