Registered Member
|
Hello,
the title says it all. Iam searching for a function doing something like this:
Didnt found it in the documentation. Greetings! |
Registered Member
|
One possibility is to compute the QR decomposition of M and then use the Q matrix M: M = M.householderQr().householderQ(). However, this does not give you the orthogonal matrix closest to M (if I remember correctly, you need to do the polar decomposition for that). If your matrix M is a rotation matrix polluted by round-off error, then using the QR decomposition may be good enough.
|
Registered Member
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]