diff options
author | Miao Wang <miaowang@google.com> | 2017-03-08 17:21:02 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-08 17:21:02 +0000 |
commit | d3ea081e6f4a81b7086df9f35f08f25e54f20863 (patch) | |
tree | 0488797fc544fe977bec6418c73445759f052482 /doc/snippets/Cwise_round.cpp | |
parent | 025d98038a364144fb4c06a5f080cc595098d154 (diff) | |
parent | 6688b8b2600a93ffeb369d4eb439f7b212639f39 (diff) | |
download | eigen-d3ea081e6f4a81b7086df9f35f08f25e54f20863.tar.gz |
Merge "Rebase Eigen to 3.3.3." am: 7de1f32623
am: 6688b8b260
Change-Id: I715189085c9858b4e8df04f109c90e7db684a025
Diffstat (limited to 'doc/snippets/Cwise_round.cpp')
-rw-r--r-- | doc/snippets/Cwise_round.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_round.cpp b/doc/snippets/Cwise_round.cpp new file mode 100644 index 000000000..e5c88230b --- /dev/null +++ b/doc/snippets/Cwise_round.cpp @@ -0,0 +1,3 @@ +ArrayXd v = ArrayXd::LinSpaced(7,-2,2); +cout << v << endl << endl; +cout << round(v) << endl; |