gtsam
3rdparty
Eigen
doc
examples
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
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
main
int main()
Definition:
Tutorial_simple_example_fixed_size.cpp:6
m3
static const DiscreteKey m3(M(3), 2)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:36