From 44861dcbfeee041223c4aac1ee075e92fa4daa01 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 18 Sep 2016 12:42:15 +0200 Subject: update --- eigen/doc/snippets/ComplexSchur_matrixT.cpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 eigen/doc/snippets/ComplexSchur_matrixT.cpp (limited to 'eigen/doc/snippets/ComplexSchur_matrixT.cpp') diff --git a/eigen/doc/snippets/ComplexSchur_matrixT.cpp b/eigen/doc/snippets/ComplexSchur_matrixT.cpp new file mode 100644 index 0000000..8380571 --- /dev/null +++ b/eigen/doc/snippets/ComplexSchur_matrixT.cpp @@ -0,0 +1,4 @@ +MatrixXcf A = MatrixXcf::Random(4,4); +cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; +ComplexSchur schurOfA(A, false); // false means do not compute U +cout << "The triangular matrix T is:" << endl << schurOfA.matrixT() << endl; -- cgit v1.2.3