QuickStart_example2_fixed.cpp
Go to the documentation of this file.
1 #include <iostream>
2 #include <Eigen/Dense>
3 
4 using namespace Eigen;
5 using namespace std;
6 
7 int main()
8 {
9  Matrix3d m = Matrix3d::Random();
10  m = (m + Matrix3d::Constant(1.2)) * 50;
11  cout << "m =" << endl << m << endl;
12  Vector3d v(1,2,3);
13 
14  cout << "m * v =" << endl << m * v << endl;
15 }
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
main
int main()
Definition: QuickStart_example2_fixed.cpp:7
m
Matrix3f m
Definition: AngleAxis_mimic_euler.cpp:1
std
Definition: BFloat16.h:88
v
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:54