Eigen 3.4.90
doc
examples
QuickStart_example.cpp
Go to the documentation of this file.
1
#include <iostream>
2
#include <
Eigen/Dense
>
3
4
using
Eigen::MatrixXd
;
5
6
int
main
()
7
{
8
MatrixXd
m
(2,2);
9
m
(0,0) = 3;
10
m
(1,0) = 2.5;
11
m
(0,1) = -1;
12
m
(1,1) =
m
(1,0) +
m
(0,1);
13
std::cout <<
m
<< std::endl;
14
}
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
Dense
main
int main()
Definition:
QuickStart_example.cpp:6
Eigen::MatrixXd
Matrix< double, Dynamic, Dynamic > MatrixXd
Dynamic×Dynamic matrix of type double.
Definition:
Matrix.h:502