Tutorial_simple_example_fixed_size.cpp
Go to the documentation of this file.
1 #include <Eigen/Core>
2 #include <iostream>
3 
4 int main()
5 {
7  m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
9  Eigen::Vector4i v4(1, 2, 3, 4);
10 
11  std::cout << "m3\n" << m3 << "\nm4:\n"
12  << m4 << "\nv4:\n" << v4 << std::endl;
13 }
static const IdentityReturnType Identity()
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:182