1
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-05-08 05:49:06 +08:00
eigen/doc/snippets/MatrixBase_replicate_int_int.cpp

5 lines
164 B
C++

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;