source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/Jacobi_makeGivens.cpp

Last change on this file was 136, checked in by ldecherf, 8 years ago

Doc

File size: 235 bytes
Line 
1Vector2f v = Vector2f::Random();
2JacobiRotation<float> G;
3G.makeGivens(v.x(), v.y());
4cout << "Here is the vector v:" << endl << v << endl;
5v.applyOnTheLeft(0, 1, G.adjoint());
6cout << "Here is the vector J' * v:" << endl << v << endl;
Note: See TracBrowser for help on using the repository browser.