blob: 3a4defe2467fce2e514ee8ef6220567defca76c8 [file] [log] [blame]
Gael Guennebaud16c7b1d2009-09-03 11:17:16 +02001Vector2f v = Vector2f::Random();
2PlanarRotation<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;