mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
5c22c7a7de
UTF-8, LF, no BOM, and newlines at the end of files
7 lines
236 B
C++
7 lines
236 B
C++
Vector2f v = Vector2f::Random();
|
|
JacobiRotation<float> G;
|
|
G.makeGivens(v.x(), v.y());
|
|
cout << "Here is the vector v:" << endl << v << endl;
|
|
v.applyOnTheLeft(0, 1, G.adjoint());
|
|
cout << "Here is the vector J' * v:" << endl << v << endl;
|