aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_log10.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_log10.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_log10.cpp')
-rw-r--r--doc/snippets/Cwise_log10.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_log10.cpp b/doc/snippets/Cwise_log10.cpp
new file mode 100644
index 000000000..b7ae4a834
--- /dev/null
+++ b/doc/snippets/Cwise_log10.cpp
@@ -0,0 +1,2 @@
+Array4d v(-1,0,1,2);
+cout << log10(v) << endl;