diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2014-02-12 14:03:39 +0000 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2014-02-12 14:03:39 +0000 |
commit | 7ea6ef89693b0d70db29ccad1a3cc7771195e318 (patch) | |
tree | c090c3dc180d6e74db54a5bfe02319ff220d6183 /doc/snippets/MatrixBase_applyOnTheLeft.cpp | |
parent | 31c63ef0b42ae9d6249281c70a0268ddb4eba10d (diff) |
Fix documentation of MatrixBase::applyOnTheLeft (bug #739)
Add examples; move methods from EigenBase.h to MatrixBase.h
Diffstat (limited to 'doc/snippets/MatrixBase_applyOnTheLeft.cpp')
-rw-r--r-- | doc/snippets/MatrixBase_applyOnTheLeft.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/snippets/MatrixBase_applyOnTheLeft.cpp b/doc/snippets/MatrixBase_applyOnTheLeft.cpp new file mode 100644 index 000000000..6398c873a --- /dev/null +++ b/doc/snippets/MatrixBase_applyOnTheLeft.cpp @@ -0,0 +1,7 @@ +Matrix3f A = Matrix3f::Random(3,3), B; +B << 0,1,0, + 0,0,1, + 1,0,0; +cout << "At start, A = " << endl << A << endl; +A.applyOnTheLeft(B); +cout << "After applyOnTheLeft, A = " << endl << A << endl; |