mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -1,6 +1,8 @@
|
||||
Matrix3Xd M = Matrix3Xd::Random(3,5);
|
||||
Matrix3Xd M = Matrix3Xd::Random(3, 5);
|
||||
Projective3d P(Matrix4d::Random());
|
||||
cout << "The matrix M is:" << endl << M << endl << endl;
|
||||
cout << "M.colwise().homogeneous():" << endl << M.colwise().homogeneous() << endl << endl;
|
||||
cout << "P * M.colwise().homogeneous():" << endl << P * M.colwise().homogeneous() << endl << endl;
|
||||
cout << "P * M.colwise().homogeneous().hnormalized(): " << endl << (P * M.colwise().homogeneous()).colwise().hnormalized() << endl << endl;
|
||||
cout << "P * M.colwise().homogeneous().hnormalized(): " << endl
|
||||
<< (P * M.colwise().homogeneous()).colwise().hnormalized() << endl
|
||||
<< endl;
|
||||
|
||||
Reference in New Issue
Block a user