Tutorial_simple_example_fixed_size.cpp
Go to the documentation of this file.
1 #include <Eigen/Core>
2 #include <iostream>
3 
4 using namespace Eigen;
5 
6 int main()
7 {
8  Matrix3f m3;
9  m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
10  Matrix4f m4 = Matrix4f::Identity();
11  Vector4i v4(1, 2, 3, 4);
12 
13  std::cout << "m3\n" << m3 << "\nm4:\n"
14  << m4 << "\nv4:\n" << v4 << std::endl;
15 }
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:19