Rewrite tutorial section on solving linear systems

This commit is contained in:
Jitse Niesen
2009-08-22 20:12:47 +01:00
parent 37dede6077
commit 90735b6a9c
11 changed files with 267 additions and 71 deletions

View File

@@ -0,0 +1,6 @@
Matrix3f A;
Vector3f b;
A << 1,2,3, 4,5,6, 7,8,10;
b << 3, 3, 4;
Vector3f x = A.inverse() * b;
cout << "The solution is:" << endl << x << endl;