mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
rename PlanarRotation -> JacobiRotation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Vector2f v = Vector2f::Random();
|
||||
PlanarRotation<float> G;
|
||||
JacobiRotation<float> G;
|
||||
G.makeGivens(v.x(), v.y());
|
||||
cout << "Here is the vector v:" << endl << v << endl;
|
||||
v.applyOnTheLeft(0, 1, G.adjoint());
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Matrix2f m = Matrix2f::Random();
|
||||
m = (m + m.adjoint()).eval();
|
||||
PlanarRotation<float> J;
|
||||
JacobiRotation<float> J;
|
||||
J.makeJacobi(m, 0, 1);
|
||||
cout << "Here is the matrix m:" << endl << m << endl;
|
||||
m.applyOnTheLeft(0, 1, J.adjoint());
|
||||
|
||||
Reference in New Issue
Block a user