15 lines
237 B
C++
15 lines
237 B
C++
#include "main.h"
|
|
|
|
int main(){
|
|
cout<<"Hello World"<<endl;
|
|
eigenExample();
|
|
return 0;
|
|
}
|
|
|
|
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;
|
|
} |