Files
smart_wasm/Eigen3/doc/snippets/MatrixBase_replicate_int_int.cpp
2026-06-01 15:55:59 +08:00

5 lines
163 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;