mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add some more examples for the API documentation.
The only missing examples now are for homogeneous() and hnormalized(); I don't know what they're used for ...
This commit is contained in:
4
doc/snippets/MatrixBase_replicate.cpp
Normal file
4
doc/snippets/MatrixBase_replicate.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
MatrixXi m = MatrixXi::Random(2,3);
|
||||
cout << "Here is the matrix m:" << endl << m << endl;
|
||||
cout << "m.replicate<3,2>() = ..." << endl;
|
||||
cout << m.replicate<3,2>() << endl;
|
||||
Reference in New Issue
Block a user