1 RowVectorXd vec1(3); 2 vec1 << 1, 2, 3; 3 std::cout << "vec1 = " << vec1 << std::endl; 4 5 RowVectorXd vec2(4); 6 vec2 << 1, 4, 9, 16;; 7 std::cout << "vec2 = " << vec2 << std::endl; 8 9 RowVectorXd joined(7); 10 joined << vec1, vec2; 11 std::cout << "joined = " << joined << std::endl; 12