I am writing a computer vision related program and stuck on a problem. I have a system of quadratic equations
where M is a constant 3x3 matrix, is the 3x3 identity matrix, and we are solving for the 3x3 matrix R.
The first set of equations contains 6 independent equations which leaves us with 3 degrees of freedom of SO(3) group. The second set of 3 equations just states that the matrix is symmetric.
Since this program will repeatedly solve these equations, I am searching for an efficient algorithm which I can run on Raspberry Pi, i.e. not monsters like Matlab, Mathematica or root.