You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
235 B
6 lines
235 B
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;
|