Registered Member
|
I have a matrix of 3600 x 3600 and want to find its inverse. I used the matrix.inverse() method but it takes too long. How to do it faster? If you can, please provide an example.
|
Moderator
|
What is "too long" for you and what would be a reasonable amount of time?
|
Moderator
|
Here it takes 4s (Eigen 3.3-beta1, -O3 -mfma, double precision, i7 2.6GHz)
|
Registered Member
|
Wow, mine is around 15min with i5, 1.6GHz... Maybe there is something I do wrong...
|
Moderator
|
What's your compiler? Make sure to enable compiler optimizations. (e.g., -O3).
|
Registered Member
|
MSVC 14 but Visual Studio 2015 somehow doesn't support compiler optimizations.
|
Moderator
|
/O2 for MSVC. https://msdn.microsoft.com/en-us/library/8f8h5cxt.aspx
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft