aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_adjoint.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-27 21:43:10 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-27 21:43:10 +0000
commite7bdbe2e6a7d3d3e3f498e1ba9159b0ec1a8ccae (patch)
treeb4c3f1b04b6e00434a08bbe82cdf0a6181b271a5 /doc/snippets/MatrixBase_adjoint.cpp
parent6b9370e0f0608f203337539c72fe4821d925a978 (diff)
matrix storage order can now also be row-dominant (choosable for each matrix separately)
map() moves from MatrixBase to Matrix much more documentation/examples/snippets
Diffstat (limited to 'doc/snippets/MatrixBase_adjoint.cpp')
-rw-r--r--doc/snippets/MatrixBase_adjoint.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/snippets/MatrixBase_adjoint.cpp b/doc/snippets/MatrixBase_adjoint.cpp
new file mode 100644
index 000000000..661803ca1
--- /dev/null
+++ b/doc/snippets/MatrixBase_adjoint.cpp
@@ -0,0 +1,3 @@
+Matrix2cf m = Matrix2cf::random();
+cout << "Here is the 2x2 complex matrix m:" << endl << m << endl;
+cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl;