mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
Fix shadow warnings in doc-snippets
This commit is contained in:
parent
117bc5d505
commit
4b1ad086b5
@ -1,7 +1,6 @@
|
||||
typedef Matrix<double,4,Dynamic> Matrix4Xd;
|
||||
Matrix4Xd M = Matrix4Xd::Random(4,5);
|
||||
Projective3d P(Matrix4d::Random());
|
||||
cout << "The matrix M is:" << endl << M << endl << endl;
|
||||
cout << "M.colwise().hnormalized():" << endl << M.colwise().hnormalized() << endl << endl;
|
||||
cout << "P*M:" << endl << P*M << endl << endl;
|
||||
cout << "(P*M).colwise().hnormalized():" << endl << (P*M).colwise().hnormalized() << endl << endl;
|
||||
cout << "(P*M).colwise().hnormalized():" << endl << (P*M).colwise().hnormalized() << endl << endl;
|
||||
|
@ -1,7 +1,6 @@
|
||||
typedef Matrix<double,3,Dynamic> Matrix3Xd;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user