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_int_int.cpp
Normal file
4
doc/snippets/MatrixBase_replicate_int_int.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
Vector3i v = Vector3i::Random();
|
||||
cout << "Here is the vector v:" << endl << v << endl;
|
||||
cout << "v.replicate(2,5) = ..." << endl;
|
||||
cout << v.replicate(2,5) << endl;
|
||||
Reference in New Issue
Block a user