Tutorial_AdvancedInitialization_Join.cpp
Go to the documentation of this file.
00001 RowVectorXd vec1(3);
00002 vec1 << 1, 2, 3;
00003 std::cout << "vec1 = " << vec1 << std::endl;
00004 
00005 RowVectorXd vec2(4);
00006 vec2 << 1, 4, 9, 16;;
00007 std::cout << "vec2 = " << vec2 << std::endl;
00008 
00009 RowVectorXd joined(7);
00010 joined << vec1, vec2;
00011 std::cout << "joined = " << joined << std::endl;


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:27