Add snippets file which should have been added in the previous commit.

This commit is contained in:
Jitse Niesen
2010-03-24 13:04:03 +00:00
parent 37e17938e9
commit 13a1b0ba27
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
MatrixXcf A = MatrixXcf::Random(4,4);
ComplexSchur<MatrixXcf> schur(4);
schur.compute(A);
cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl;
schur.compute(A.inverse());
cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl;