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/tut_arithmetic_transpose_conjugate.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp (limited to 'eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp') diff --git a/eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp b/eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp new file mode 100644 index 0000000..88496b2 --- /dev/null +++ b/eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp @@ -0,0 +1,12 @@ +MatrixXcf a = MatrixXcf::Random(2,2); +cout << "Here is the matrix a\n" << a << endl; + +cout << "Here is the matrix a^T\n" << a.transpose() << endl; + + +cout << "Here is the conjugate of a\n" << a.conjugate() << endl; + + +cout << "Here is the matrix a^*\n" << a.adjoint() << endl; + + -- cgit v1.2.3