aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_sinh.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-06-10 15:52:05 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-06-10 15:52:05 +0200
commit25a98be948095c1487936c45aec0b7717509dac5 (patch)
tree2d195462c9c55803c1a6b99dec884545e90577b1 /doc/snippets/Cwise_sinh.cpp
parent192bce2795bbfaa0d4e6fdcd270a95d59da82f66 (diff)
parente5048b5501a4c2cd86fa3f92ad214938eb3f9b3f (diff)
bug #80: merge with d_hood branch on adding more coefficient-wise unary array functors
Diffstat (limited to 'doc/snippets/Cwise_sinh.cpp')
-rw-r--r--doc/snippets/Cwise_sinh.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_sinh.cpp b/doc/snippets/Cwise_sinh.cpp
new file mode 100644
index 000000000..fac9b19a8
--- /dev/null
+++ b/doc/snippets/Cwise_sinh.cpp
@@ -0,0 +1,2 @@
+ArrayXd v = ArrayXd::LinSpaced(5,0,1);
+cout << sinh(v) << endl;