Files
Efim Beshmenev 7f9dc067a1 Initial commit
2026-07-10 19:16:42 +03:00

7 lines
235 B
C++

VectorXd v(10);
v.resize(3);
RowVector3d w;
w.resize(3); // this is legal, but has no effect
cout << "v: " << v.rows() << " rows, " << v.cols() << " cols" << endl;
cout << "w: " << w.rows() << " rows, " << w.cols() << " cols" << endl;