diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-10-19 21:56:26 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-10-19 21:56:26 -0400 |
commit | e259f71477c05de231118a114398be22697feaaa (patch) | |
tree | 2438ca06bf8e7eb5a998b61ecd64334e956c2fc5 /doc/snippets | |
parent | 9044c98cff257a4f7429deaa78cae59132957db7 (diff) |
rename PlanarRotation -> JacobiRotation
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/Jacobi_makeGivens.cpp | 2 | ||||
-rw-r--r-- | doc/snippets/Jacobi_makeJacobi.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/snippets/Jacobi_makeGivens.cpp b/doc/snippets/Jacobi_makeGivens.cpp index 3a4defe24..4b733c306 100644 --- a/doc/snippets/Jacobi_makeGivens.cpp +++ b/doc/snippets/Jacobi_makeGivens.cpp @@ -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()); diff --git a/doc/snippets/Jacobi_makeJacobi.cpp b/doc/snippets/Jacobi_makeJacobi.cpp index 5c0ab7374..0cc331d9f 100644 --- a/doc/snippets/Jacobi_makeJacobi.cpp +++ b/doc/snippets/Jacobi_makeJacobi.cpp @@ -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()); |