Eigen matrix library and a test program

Dependencies:   Eigen mbed

Files at this revision

API Documentation at this revision

Comitter:
ykuroda
Date:
Thu Oct 13 08:15:23 2016 +0000
Parent:
0:5971b11ad8ff
Commit message:
An example program for Eigen

Changed in this revision

Eigen.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5971b11ad8ff -r ad6e79769c8f Eigen.lib
--- a/Eigen.lib	Thu Oct 13 04:07:45 2016 +0000
+++ b/Eigen.lib	Thu Oct 13 08:15:23 2016 +0000
@@ -1,1 +1,1 @@
-Eigen#13a5d365ba16
+https://developer.mbed.org/users/ykuroda/code/Eigen/#13a5d365ba16
diff -r 5971b11ad8ff -r ad6e79769c8f main.cpp
--- a/main.cpp	Thu Oct 13 04:07:45 2016 +0000
+++ b/main.cpp	Thu Oct 13 08:15:23 2016 +0000
@@ -15,4 +15,5 @@
     Vector3f x = A.colPivHouseholderQr().solve(b);
     //Vector3f x = A.inverse() * b;
     cout << "The solution is:\n" << x << endl;
+    //printf("b[%g,%g,%g]\n", x(0),x(1),x(2));
 }