initializer_list_2.cpp
Go to the documentation of this file.
1 #include "../Eigen/Core"
2 
3 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4 #define ROWS Dynamic
5 #define COLS Dynamic
6 #else
7 #define ROWS 3
8 #define COLS 1
9 #endif
10 
11 using namespace Eigen;
12 
13 int main()
14 {
15  Matrix<int, ROWS, COLS> {1, 2, 3};
16 }
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
main
int main()
Definition: initializer_list_2.cpp:13
Eigen::Matrix
The matrix class, also used for vectors and row-vectors.
Definition: 3rdparty/Eigen/Eigen/src/Core/Matrix.h:178


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:28