aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Tutorial_AdvancedInitialization_Block.cpp
blob: 96e40acfbc4423609f8ddb21fb0249d9fbd8a91d (plain)
1
2
3
4
5
MatrixXf matA(2, 2);
matA << 1, 2, 3, 4;
MatrixXf matB(4, 4);
matB << matA, matA/10, matA/10, matA;
std::cout << matB << std::endl;