hsharma
Registered Member

Hi,
I am quite new to eigen3, so need some help in calculating polar decomposition with jacobi rotations using eigen3, please reply soon. Thanks in advance. 
ggael
Moderator

It is implemented in Transform::rotation(), e.g.:

hsharma
Registered Member

Thanks for the reply but I am getting this error when I use your code:
My problem is: A = RS {I have the matrix A and I need matrix R and S, separately} S = sqrt(A.transform() * A) { to calculate this I need to use Jacobi to get Diagonal Matrix} So that R can be calculated as: R = A * S.inverse() I hope it is clear... 
ggael
Moderator

right, the ctor is explicit so:
Affine3f t; t = mat; 
hsharma
Registered Member

Thank you so much it worked...

Registered users: ahas, Baidu [Spider], Bing [Bot], bluelightish, davidemme, Exabot [Bot], Google [Bot], google01103, kalimerox, La Ninje, lsnd, Majestic12 [Bot], Mikomi, MSNbot Media, Yahoo [Bot]