Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / examples / QuickStart_example.cpp
blob7238c0c43d653f6d36e4b80b66c4f3ef619a31d0
1 #include <iostream>
2 #include <Eigen/Dense>
4 using Eigen::MatrixXd;
6 int main()
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;