aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_erf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snippets/Cwise_erf.cpp')
-rw-r--r--doc/snippets/Cwise_erf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_erf.cpp b/doc/snippets/Cwise_erf.cpp
new file mode 100644
index 000000000..7f51c1b6a
--- /dev/null
+++ b/doc/snippets/Cwise_erf.cpp
@@ -0,0 +1,2 @@
+Array4d v(-0.5,2,0,-7);
+cout << v.erf() << endl;