row major and append/delete column?

row major and append/delete column?


I have a matrix previously in column major which I prefer to move now to row major since it became a hotspot and the hardcore of the computation is done along its rows and not along its columns i.e. improved locality.

However, I also need to ocasionally delete and append columns to this matrix and in row major is clearly an inconvenience. How can I append/delete columns from a matrix in row major using MKL in the fastest way? :)

Many TIA,
Best regards,

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

there are no similar functionality available in MKL. i believe you can do it by many ways - one of them, as an example - to use vector :: insert from STL

Leave a Comment

Please sign in to add a comment. Not a member? Join today