Gael Guennebaud | 16c7b1d | 2009-09-03 11:17:16 +0200 | [diff] [blame] | 1 | Vector2f v = Vector2f::Random(); |
Benoit Jacob | e259f71 | 2010-10-19 21:56:26 -0400 | [diff] [blame] | 2 | JacobiRotation<float> G; |
Gael Guennebaud | 16c7b1d | 2009-09-03 11:17:16 +0200 | [diff] [blame] | 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; |