LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / Jacobi_makeGivens.cpp
blob4b733c3064a6fbcbd2d6ec9cd63d20db1f04b880
1 Vector2f v = Vector2f::Random();
2 JacobiRotation<float> G;
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;