source:
pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/Jacobi_makeGivens.cpp@
138
Last change on this file since 138 was 136, checked in by , 8 years ago | |
---|---|
File size: 235 bytes |
Line | |
---|---|
1 | Vector2f v = Vector2f::Random(); |
2 | JacobiRotation<float> G; |
3 | G.makeGivens(v.x(), v.y()); |
4 | cout << "Here is the vector v:" << endl << v << endl; |
5 | v.applyOnTheLeft(0, 1, G.adjoint()); |
6 | cout << "Here is the vector J' * v:" << endl << v << endl; |
Note:
See TracBrowser
for help on using the repository browser.