commit | 2b5a0060b4576776f6a3d1411654009dd40a2d41 | [log] [tgz] |
---|---|---|
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | Fri Jul 23 20:32:33 2010 +0100 |
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | Fri Jul 23 20:32:33 2010 +0100 |
tree | 6f55a8ba5f179c1c27e628dda46b65ccdfdb119d | |
parent | 072ee3c07d5fd45a555aa4eb90e1394fc5ad6583 [diff] [blame] |
Add examples for API documentation of MatrixBase::cwiseXxx() methods.
diff --git a/doc/snippets/MatrixBase_cwiseMax.cpp b/doc/snippets/MatrixBase_cwiseMax.cpp new file mode 100644 index 0000000..3c95681 --- /dev/null +++ b/doc/snippets/MatrixBase_cwiseMax.cpp
@@ -0,0 +1,2 @@ +Vector3d v(2,3,4), w(4,2,3); +cout << v.cwiseMax(w) << endl;