![]() Registered Member ![]()
|
Hi
I have included the RedSVD (https://github.com/ntessore/redsvd-h) header file in the my C++ Code . Then I decomposed the matrix using SVD If I am using command line I am able to get the output very early - Say 10sec But If I use the HEADER FILE & EIGEN lIB, my prog takes 50 Sec to calculate SVD Can i know why there is such difference I am usign mat.setFromTriplets(tripletList.begin(), tripletList.end()) to store the matrix and calling RedSVD::RedSVD<MatrixXf> S(mat); to calculate SVD Thanks |
![]() Moderator ![]()
|
Make sure that you compiled with optimization ON (e.g., -O2) and that you explicitly asked for the same amount of singularvalues.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]