Eigen 3.4.90
doc
snippets
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)
Eigen::RowVectorXd
Matrix< double, 1, Dynamic > RowVectorXd
1×Dynamic vector of type double.
Definition:
Matrix.h:502