diff options
author | 2015-06-10 15:52:05 +0200 | |
---|---|---|
committer | 2015-06-10 15:52:05 +0200 | |
commit | 25a98be948095c1487936c45aec0b7717509dac5 (patch) | |
tree | 2d195462c9c55803c1a6b99dec884545e90577b1 /doc/snippets/Cwise_ceil.cpp | |
parent | 192bce2795bbfaa0d4e6fdcd270a95d59da82f66 (diff) | |
parent | e5048b5501a4c2cd86fa3f92ad214938eb3f9b3f (diff) |
bug #80: merge with d_hood branch on adding more coefficient-wise unary array functors
Diffstat (limited to 'doc/snippets/Cwise_ceil.cpp')
-rw-r--r-- | doc/snippets/Cwise_ceil.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_ceil.cpp b/doc/snippets/Cwise_ceil.cpp new file mode 100644 index 000000000..76cf661f4 --- /dev/null +++ b/doc/snippets/Cwise_ceil.cpp @@ -0,0 +1,3 @@ +ArrayXd v = ArrayXd::LinSpaced(7,-2,2); +cout << v << endl << endl; +cout << ceil(v) << endl; |