The power_iteration helper is currently expecting matrices stored in RowMajor as inputs. A memory allocation is performed every time the user provides a matrix stored in ColMajor. This PR aims at extending the current API to handle ColMajor matrices without making any memory allocation.
Hi ! This project doesn't usually accept pull requests on the main branch.
If this wasn't intentionnal, you can change the base branch of this PR to devel
(No need to close it for that). Best, a bot.
The power_iteration helper is currently expecting matrices stored in RowMajor as inputs. A memory allocation is performed every time the user provides a matrix stored in ColMajor. This PR aims at extending the current API to handle ColMajor matrices without making any memory allocation.