libeigen/eigen!2509 Closes #2868 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
8 lines
261 B
C++
8 lines
261 B
C++
// SPDX-FileCopyrightText: The Eigen Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
Vector3i v = Vector3i::Random();
|
|
cout << "Here is the vector v:" << endl << v << endl;
|
|
cout << "v.rowwise().replicate(5) = ..." << endl;
|
|
cout << v.rowwise().replicate(5) << endl;
|