QuickStart_example.cpp File Reference

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 6 of file QuickStart_example.cpp.

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 }
Matrix3f m
Matrix< double, Dynamic, Dynamic > MatrixXd
Dynamic×Dynamic matrix of type double.
Definition: Matrix.h:502