Disabled external gits
This commit is contained in:
6
cs440-acg/ext/eigen/doc/snippets/Jacobi_makeGivens.cpp
Normal file
6
cs440-acg/ext/eigen/doc/snippets/Jacobi_makeGivens.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
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;
|
Reference in New Issue
Block a user