2023-12-31 14:30:21 +01:00
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
int main(){
|
2023-12-31 14:48:12 +01:00
|
|
|
cout<<"Hello World"<<endl;
|
|
|
|
eigenExample();
|
2023-12-31 14:30:21 +01:00
|
|
|
return 0;
|
2023-12-31 14:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void eigenExample(){
|
|
|
|
Eigen::MatrixXd m(2,2);
|
|
|
|
m(1,0) = 2.5;
|
|
|
|
m(0,1) = -1;
|
|
|
|
m(1,1) = m(1,0) + m(0,1);
|
|
|
|
cout << m << endl;
|
2023-12-31 14:30:21 +01:00
|
|
|
}
|