Tutorial_AdvancedInitialization_Join.cpp
Go to the documentation of this file.
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;
vec1
RowVectorXd vec1(3)


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:36