QuickStart_example2_dynamic.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  MatrixXd m = MatrixXd::Random(3,3);
10  m = (m + MatrixXd::Constant(3,3,1.2)) * 50;
11  cout << "m =" << endl << m << endl;
12  VectorXd v(3);
13  v << 1, 2, 3;
14  cout << "m * v =" << endl << m * v << endl;
15 }
Matrix3f m
ArrayXcf v
Definition: Cwise_arg.cpp:1
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
Definition: Half.h:150


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:47